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*