added a backup script.

putting backup files on the 16GB card on my phone.
This commit is contained in:
Robin Clark 2010-11-04 09:45:29 +00:00
parent 88347a8ef0
commit ce4c55f96c

14
backup.sh Executable file
View File

@ -0,0 +1,14 @@
rm -rf thesis_back_up*
d=`date | sed 's/:/_/g' | sed 's/ /_/g' `
echo $d
t=thesis_back_up.$d.tar
echo $t
tar cvfp $t *
gzip $t
ls -l thesis_back_up*