|
Posted by Tad J McClellan on February 26, 2008, 8:16 pm
Please log in for more thread options > Is there a "perl way" of modifying the date/time stamp of a file? Is
> there a core function or core module I'm overlooking?
perldoc -f utime
> # from the shell, modify xfile creation date to year 2001 January day
^^^^^^^^^^^^^
> 30 time 13:50:26
> touch -t 200101301350.26 xfile
touch does NOT modify the creation date, because there is no
such thing on most *nix filesystems...
--
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher0cmdat/"
|