16 Jan
2007
16 Jan
'07
13:54
Ulf Rasch wrote:
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
dooooh echo $myfilename of course Ulf Rasch -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org