From: ara.t.howard@... Date: 2007-03-06T23:29:33+09:00 Subject: Re: Attributing an old time stamp for a new file. On Tue, 6 Mar 2007, Peter Bailey wrote: > Hello, > I need to read some data from some older files and put that info. into > simple ASCII text files. But, I want those new text files to have the > same time stamp as the original files that the data came from. Is there > any way to do that? > > Thanks, > Peter harp: ~> ri FileUtils.touch -------------------------------------------------------- FileUtils#touch touch(list, options = {}) ------------------------------------------------------------------------ Options: noop verbose Updates modification time (mtime) and access time (atime) of file(s) in +list+. Files are created if they don't exist. FileUtils.touch 'timestamp' FileUtils.touch Dir.glob('*.c'); system 'make' -a -- be kind whenever possible... it is always possible. - the dalai lama