Hi, all - 

I have a cron job that makes a tar archive of my web root on another spindle
in my server.  What I'd like to do is insert the day of the week into the
filename but haven't figgered out exactly how to do it yet.

What I've got is this -

tar cf /archive/backup.tar /usr/www/*

I've tried this

tar cf /archive/backup_'date +&a'.tar /usr/www/*

which didn't work well at all  :(

This has to be fairly simple but I haven't found anything on the web that
was even close.  Can y'all help?

thanks -


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to