On Sun, 10 May 1998, Igmar Palsenberg wrote:
> 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
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.
--
John Darrah (u05192) | Dept: N/C Programming
Giddens Industries |
PO box 3190 | Ph: (206) 767-4212 #229
Everett WA 98203 | Fx: (206) 764-9639
--
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.