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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to