From: ara.t.howard@... Date: 2006-11-27T13:45:05+09:00 Subject: Re: FileUtils.mv not working? On Mon, 27 Nov 2006, Trans wrote: > I'm trying to move a folder from the /tmp dir (accessed via Dir.tmpdir) > to the current working directory. It fails to do the move and instead > just copies the folder. I get no error or warning. I can do it just > find from the command line: > > mv /tmp/foo bar > > but if I try > > ruby -w -rfileutils -e "FileUtils.mv('/tmp/foo', 'bar'))" > > It only copies. Anyone have any idea why? > > Thanks, > T. > > ruby 1.8.4 (2005-12-24) [i486-linux] on ubuntu shouldn't you be using .cp_r? -a -- if you want others to be happy, practice compassion. if you want to be happy, practice compassion. -- the dalai lama