Backup a folder script - Local to local
#!/bin/bash SRCDIR=/imp-data DESDIR=/mybackupfolder TIME=`date +%b-%d-%y` FILENAME=backup-$TIME.tar.gz tar -cpzf $DESDIR/$FILENAME $SRCDIR