From ce4c55f96c7a0d6a9243fb5eec058f3627b22af2 Mon Sep 17 00:00:00 2001 From: Robin Clark Date: Thu, 4 Nov 2010 09:45:29 +0000 Subject: [PATCH] added a backup script. putting backup files on the 16GB card on my phone. --- backup.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 backup.sh diff --git a/backup.sh b/backup.sh new file mode 100755 index 0000000..6cb7d02 --- /dev/null +++ b/backup.sh @@ -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* +