From: "Rebhan, Gilbert" Date: 2007-02-14T16:13:36+09:00 Subject: Re: Problem with File.mv Hi, -----Original Message----- From: ara.t.howard@noaa.gov [mailto:ara.t.howard@noaa.gov] Sent: Tuesday, February 13, 2007 4:57 PM To: ruby-talk ML Subject: Re: Problem with File.mv */ # untested - should work though... require "fileutils" src = "T:/rubytest/deploy/E023889/INCLIB" dst = "T:/Foobar/INCLIB" fu = FileUtils f = File d = Dir fu.mkdir_p dst d.glob(f.join(src,'*'){|e| fu.mv e, dst} */ after changing the line d.glob ... into d.glob(f.join(src,'*')){|e| fu.mv e, dst} it run's with Exit Code 0 put only the fu.mkdir does his work, means dst is created but nothing more, no files under T:/Foobar/INCLIB Regards, Gilbert