Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Modifying a file's time stamp

Reply
Thread Tools

Modifying a file's time stamp

 
 
ladygrinningsoul
Guest
Posts: n/a
 
      12-05-2004
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.


 
Reply With Quote
 
 
 
 
ladygrinningsoul
Guest
Posts: n/a
 
      12-06-2004

"ladygrinningsoul" <(E-Mail Removed)> wrote in message
news:OUMsd.13595$(E-Mail Removed). ..
> 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'.


 
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
Time stamp problem Zean Smith ASP .Net 0 02-07-2006 03:19 PM
Saving time stamp for replied to email? Keith Firefox 4 01-17-2006 07:03 PM
Can Windows file time stamp be changed to shooting time? Gustav Digital Photography 8 07-31-2004 10:11 PM
How to populate the current date and time stamp on to an html form???? srini HTML 9 04-14-2004 09:15 PM
Date/Time stamp in SQL =?Utf-8?B?QmVydA==?= ASP .Net 2 01-30-2004 04:47 PM



Advertisments