Re: Cron job for backup

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Matt Graham
Date:  
To: plug-discuss
Subject: Re: Cron job for backup
After a long battle with technology, der.hans wrote:
> Am 11. Dec, 2007 schwätzte Patrick Fleming, EA so:
> > BACKUPDIRNAME=`date +Y%m%d%` #these are backtics -
> Use $( ) format for bash and ksh scripts :).
> BACKUPDIRNAME=$( date +Y%m%d% )


Better yet, BACKUPDIRNAME=$( date +%Y%m%d ) unless you have a year named Y
somewhere in your calendar system (-: .

--
Sturgeon's Law: 90% of everything is crud.
MG's Extension: The other 10% is included in "everything," and it's
recursive.
There is no Darkness in Eternity/But only Light too dim for us to see
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss