Re: syntax error in backup script

2001-05-08 Thread Jason Pepas
: "Morgan Terry" <[EMAIL PROTECTED]> To: Sent: Tuesday, May 08, 2001 7:11 PM Subject: Re: syntax error in backup script > Jason Pepas wrote: > > > > i am brewing up a backup script, but i am running into an error which > > has me baffled. > > > > i try to

Re: syntax error in backup script

2001-05-08 Thread Morgan Terry
Jason Pepas wrote: > > i am brewing up a backup script, but i am running into an error which > has me baffled. > > i try to run the script and get a syntax error which look something like > this: > > syntax error near unexpected token 'elif' > > this is the line in question: > > elif [ ! -f "/

Re: syntax error in backup script

2001-05-08 Thread Jason Pepas
ot; Sent: Tuesday, May 08, 2001 8:56 AM Subject: Re: syntax error in backup script > Quoting Jason Pepas ([EMAIL PROTECTED]): > > > syntax error near unexpected token 'elif' > > > > this is the line in question: > > > > elif [ ! -f "/backup/cur

Re: syntax error in backup script

2001-05-08 Thread David Wright
Quoting Jason Pepas ([EMAIL PROTECTED]): > syntax error near unexpected token 'elif' > > this is the line in question: > > elif [ ! -f "/backup/current/*fullbackup.tar.gz" ] elif needs "then" just like if does. Cheers, -- Email: [EMAIL PROTECTED] Tel: +44 1908 653 739 Fax: +44 1908 655 1

syntax error in backup script

2001-05-06 Thread Jason Pepas
i am brewing up a backup script, but i am running into an error which has me baffled. i try to run the script and get a syntax error which look something like this: syntax error near unexpected token 'elif' this is the line in question: elif [ ! -f "/backup/current/*fullbackup.tar.gz" ] here