'date' command (was Re: HELP needed with shell-script.)

1998-05-12 Thread Pete Peterson
msford, MA) +1-978-589-2088 (Closest FAX); +1-978-589-7007 (Main GenRad FAX) > Date: Sun, 10 May 1998 12:27:02 -0700 (PDT) > From: John H Darrah <[EMAIL PROTECTED]> > To: Redhat List <[EMAIL PROTECTED]> > Subject: Re: HELP needed with shell-script. > Message-ID:

Re: HELP needed with shell-script.

1998-05-10 Thread John H Darrah
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')

Re: HELP needed with shell-script.

1998-05-10 Thread Igmar Palsenberg
>> 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 t

Re: HELP needed with shell-script.

1998-05-10 Thread John H Darrah
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'

HELP needed with shell-script.

1998-05-10 Thread Igmar Palsenberg
Hi, I got a little problem : I don't know nothing about shell-scripting. I want to do the following: 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 Any bash-guru got an