Modifying a file's time stamp

Discussion in 'Perl' started by ladygrinningsoul, Dec 5, 2004.

  1. Is there a Perl (core or mod) equivalent to the UNIX 'touch' command? I
    need to change the time stamp of a file without changing its contents.
     
    ladygrinningsoul, Dec 5, 2004
    #1
    1. Advertising

  2. "ladygrinningsoul" <> wrote in message
    news:OUMsd.13595$...
    > Is there a Perl (core or mod) equivalent to the UNIX 'touch' command? I
    > need to change the time stamp of a file without changing its contents.


    Never mind; found it. It's 'utime'.
     
    ladygrinningsoul, Dec 6, 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. =?Utf-8?B?QmVydA==?=

    Date/Time stamp in SQL

    =?Utf-8?B?QmVydA==?=, Jan 30, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    21,447
    Wardeaux
    Jan 30, 2004
  2. Zean Smith

    Time stamp problem

    Zean Smith, Feb 7, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    341
    Zean Smith
    Feb 7, 2006
  3. srini
    Replies:
    9
    Views:
    11,581
    Beauregard T. Shagnasty
    Apr 14, 2004
  4. Peter Bailey
    Replies:
    11
    Views:
    205
    Robert Klemme
    Mar 6, 2007
  5. Picker Leon

    Add File Names with Time Stamp

    Picker Leon, Dec 3, 2003, in forum: Perl Misc
    Replies:
    12
    Views:
    288
    Ben Morrow
    Dec 4, 2003
Loading...

Share This Page