From: "trans. (T. Onoma)" Date: 2004-12-23T23:54:03+09:00 Subject: Re: All I want to do is move a directory :( On Wednesday 22 December 2004 08:04 pm, Minero Aoki wrote: | | In my opinion, :force option ensures only that #mv does not | raise exception, it does not imply continuing process. Well, that doesn;t sound like "forcing" to me, but ... Sigh, now I'm getting opposite behavior. I tried to create irb session to demonstrate the bug I was getting (@dir/@dir) but instead now it seems to be overwriting: irb(main):001:0> require 'fileutils' => true irb(main):002:0> puts Dir['**/*'] a test a/test.txt test/a => nil irb(main):003:0> FileUtils.mv( "a", "test" ) => 0 irb(main):004:0> puts Dir['**/*'] test test/a test/a/test.txt I traced it to the fact the "a" is empty. If one tries this when "a" is not empty it then fails. This doesn't seem to be "UNIX correct" either. T.