I have a script to backup some directories:
tar cjf /backup-`date +\%m-\%d-\%Y`.tar.bz2 mydir >> /dev/null 2>&1
At the end of the process, a "ls -al" show something like:
-rwxr-xr-x 1 my my 719110144 May 29 2000 backup-08-02-2013.tar.bz2
Notice the year: 2000. Archive was made in 2013… What's the problem and how to solve it?
Thanks for your help.