John Meyer wrote:
I've started with the following script:

myfilename = $(date +%m%d%y) + ".tar.gz"
echo $myfilename

It is giving me this error: ./backupfiles.sh: line 1: myfilename:
command not found.  I know I'm doing something wrong here, just can't
figure out what.

Try

TODAY=`date '+%Y%m%d'`
myfilename=$TODAY.tar.gz

echo $MYFILENAME



Ulf Rasch
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to