RE: Change ctime of a file ?

2004-12-03 Thread Ed Christian
Jeff Westman wrote:
> Is it possible to change the 'create timestamp' (ctime) of a file,
> and if so, how?  This would be the perl equivalent of Unix' "touch"
> command.  

If you're looking for a close replacement for "touch", try:

perldoc -f utime

"Changes the access and modification times on each file of a list of
files."

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




RE: Change ctime of a file ?

2004-12-03 Thread Bob Showalter
Jeff Westman wrote:
> Is it possible to change the 'create timestamp' (ctime) of a file, and
> if so, how?  This would be the perl equivalent of Unix' "touch"
> command.

Common misconception. ctime is "inode change time". There is no creation
time in Unix. See your stat(2) manpage for more info.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




Change ctime of a file ?

2004-12-03 Thread Jeff Westman
Is it possible to change the 'create timestamp' (ctime) of a file, and
if so, how?  This would be the perl equivalent of Unix' "touch"
command.


Thanks in advance!



-Jeff

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]