OT: Re: Help with a bash script please
I know where the error lies but not how to fix it.
zparameters="a -mhe=on -pd1ckhead -t7z -m0=lzma -mx=9 -mfb=64 -md=32m
-ms=on -si"
zfilename="Daily Backup - $(date +"%a %h %H%M %d-%m-%Y").$backuplevel.tar.7z"
When these two expand here:
tar $tarparameters $backuppath | 7z $zparameters $zfilename
I end up with all of the terms but the $zfilename still needs quoting
somehow as it contains spaces, how do you fix that or do I have to
escape all of the spaces with back ticks?
All the help so far has been great.
Adrian
--
24x7x365 != 24x7x52 Stupid or bad maths?
<erno> hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.
Reply to: