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 151 Snail: David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA Disclaimer: These addresses are only for reaching me, and do not signify official stationery. Views expressed here are either my own or plagiarised.