if [[ $1 == "c" ]]; then
  sudo tar --atime-preserve -cvpf $2.tar $2
elif [[ $1 == "x" ]]; then
  sudo tar -xvpf $2
fi