unknown wrote: > 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 Thanks. ri verbage is rarely clear to me. These sample lines definitely seem to be referring to Unix stuff. "make" means nothing in Windows. where I am. Thanks, anyway. -- Posted via http://www.ruby-forum.com/.