Saturday, March 11, 2006
Backup.sh
A simple little script that does the backup for me to a remote machine:
backup.sh
---------
filename=`date +%y%m%d`-`date +%H%M%S`-xyz-projects.tar
echo $filename
tar cf $filename ProjectXyz*
gzip $filename
scp $filename.gz hchar.desktop:/home/hchar/backup/
rm $filename.gz