--- Manish Popli <[EMAIL PROTECTED]> wrote:
[...]
> tar -cvf /home/manish/cvs_bkp/cvs_bkp.tar /home/cvs/
>
> # Rename the backup file by date
>
> date=`date -I`
> mv /home/manish/cvs_bkp/cvs_bkp.tar
> /home/manish/cvs_bkp/cvs_bkp$date.tar
What error message do you get if you try manually
running this script (change "date" to "echo" if you do
not want to mess with your backups)? The script looks
fine for bash, but if you have changed shells, you
might need to use ${date} instead of $date in the mv
line. It is usually best to do this for shell
variables not at the end.
Regards,
Gora
__________________________________________________________
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com
_______________________________________________
ilugd mailinglist -- [email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
http://www.mail-archive.com/[email protected]/