timestamp in filename windows

Discussion in 'NZ Computing' started by Brett, Sep 17, 2004.

  1. Brett

    Brett Guest

    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.
    Brett, Sep 17, 2004
    #1
    1. Advertising

  2. Brett

    Barry Guest

    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`"
    Barry, Sep 17, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Bill F

    log timestamp format

    Bill F, Jul 23, 2003, in forum: Cisco
    Replies:
    3
    Views:
    9,471
    Bill F
    Jul 24, 2003
  2. Ste
    Replies:
    2
    Views:
    3,183
  3. Replies:
    0
    Views:
    570
  4. ixgor
    Replies:
    1
    Views:
    1,358
    unholy
    Oct 15, 2006
  5. sobriquet

    how to get rid of a long filename in windows

    sobriquet, Oct 30, 2010, in forum: Computer Support
    Replies:
    13
    Views:
    758
    Meat Plow
    Oct 31, 2010
Loading...

Share This Page