Robert Klemme wrote: > 2007/7/16, Peter Bailey <pbailey / bna.com>: >> > >> from (irb):3 > Works for me: > > irb(main):003:0> FileUtils.touch "f", :mtime => Time.now > => ["f"] > irb(main):004:0> RUBY_VERSION > => "1.8.6" > irb(main):005:0> File.mtime "f" > => Mon Jul 16 15:52:06 +0200 2007 > > Alternatively you can try to use File.utime(). > > Kind regards > > robert Thanks, Robert. That particular thing just doesn't work for me, but, I'm intrigued by File.utime. I read about it a bit and I think it might do the trick. Thanks a lot! -- Posted via http://www.ruby-forum.com/.