FWD: About Bash Script

2010-02-15 Thread Mart Frauenlob
Original Message Subject: About Bash Script Date: Mon, 15 Feb 2010 10:39:25 -0600 From: Curt cain...@gmail.com To: mart.frauen...@chello.at Hi Mart- I saw you were helping another guy with a bash scripthopefully you'll remember but i'm trying

Re: FWD: About Bash Script

2010-02-15 Thread Greg Wooledge
On Mon, Feb 15, 2010 at 10:20:05PM +0100, Mart Frauenlob wrote: From: Curt cain...@gmail.com What I want to do is simply if the destination file exists, instead it creates an index number and appends that to the name. If b.txt exists then a.txt will be renamed to b.txt.1, but if