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* +