From: ara.t.howard@... Date: 2007-02-14T00:57:27+09:00 Subject: Re: Problem with File.mv On Wed, 14 Feb 2007, Rebhan, Gilbert wrote: > > i want all files from > T:/rubytest/deploy/E023889/INCLIB > > move to the folder > T:/Foobar/INCLIB > > but with the method above i get = > > T:/Foobar/INCLIB/INCLIB > > how to change that ? > # 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} regards -a -- we can deny everything, except that we have the possibility of being better. simply reflect on that. - the dalai lama cat a.rb