Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > NZ Computing > timestamp in filename windows

Reply
Thread Tools

timestamp in filename windows

 
 
Brett
Guest
Posts: n/a
 
      09-17-2004
How can I add a timestamp (todays date) like into a filename.

eg.

i want to change file named

"camera_A"

into file named

"camera_A 11-9-2004"

with a hot key? or batch processing mode.
 
Reply With Quote
 
 
 
 
Barry
Guest
Posts: n/a
 
      09-17-2004
Brett wrote:

> How can I add a timestamp (todays date) like into a filename.
>
> eg.
>
> i want to change file named
>
> "camera_A"
>
> into file named
>
> "camera_A 11-9-2004"
>
> with a hot key? or batch processing mode.


mv camera_A "camera_A `date +%D-%M-%Y`"


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
The filename set in the response.setHeader("Content-Disposition", "attachment; filename=test.csv") is being ignored! Ed Java 10 07-13-2010 12:43 PM
Stitch rar files ( filename.part01 and filename.part02) Please help ixgor Software 1 10-15-2006 02:33 AM
how to get 8.3 format filename from long filename jacobyv@sis.unibe.ch Java 1 06-15-2006 10:39 AM
Adding a timestamp to a filename kbrad ASP General 2 09-28-2004 07:06 PM
Extract filename from a filename typed by user =?Utf-8?B?Sm9l?= ASP .Net 1 08-23-2004 11:29 PM



Advertisments