From: daz Date: 2004-07-31T11:56:41+09:00 Subject: Re: ``touch''ing a file in Ruby Richard A. Ryan wrote: > Hi, > > How do you change the mtime (and ctime and atime, if possible) of > a file in Ruby? I'll probably be running this on Solaris, IRIX, > and Linux. > ------------------------------------------------------------ File::utime File.utime(atime, mtime, file_name,...) => integer ------------------------------------------------------------------------ Sets the access and modification times of each named file to the first two arguments. Returns the number of file names in the argument list. Don't know about ctime, though. :daz