At 12:17 AM 12/19/2002 +0100, Cristian Ionescu-Idbohrn wrote: >On Thu, 19 Dec 2002, Garry Byrne wrote: > >> Hi all, Could anyone assist with a simple script to mv 'filename.tar.gz' >> to 'filename-currentdate.tar.gz' So the script would be able to insert the >> current date into the new file name. > >mv filename.tar.gz filename-`date +%Y-%m-%d`.tar.gz
Hi Cristian, Thanks for the info, it did the job. Looks so simple now that I can see it. Cheers Garry -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]