Re: Cron job for backup

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Matt Graham
日付:  
To: plug-discuss
題目: 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