Re: Cron job for backup

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/plain)
Delete this message
Reply to this message
Author: der.hans
Date:  
To: Main PLUG discussion list
New-Topics: Scripting (was Re: Cron job for backup)
Subject: Re: Cron job for backup
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% )

ciao,

der.hans
-- 
#  https://www.LuftHans.com/        http://www.CiscoLearning.org/
#  A t-shirt a day keeps the noose away. - der.hans
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss