>> I want to add a directory yo a zip file, but the name of the zip file
>> must the day before the current day.
>>
>> Thus, a file must be create with the following name 05-10-98.zip
>>
>zip -r $(date --date 'yesterday' '+%m-%d-%y.zip') your_dir
Thanks !!!
I was very close.... But what does the $ mean ???
>I don't know if this is the zip command you are
>using, but the date command above will return a
>filename created from yesterdays date.
Yep. I will use ZIP, because it is easy to use, and w$indowz will also be
able to read it...
Thanks !!!
Igmar
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.