From: "trans. (T. Onoma)" Date: 2004-12-23T08:22:54+09:00 Subject: Re: All I want to do is move a directory :( On Wednesday 22 December 2004 04:25 pm, Gennady Bystritksy wrote: | trans. (T. Onoma) wrote: | > Very frustrated. I have just spent well over an hour trying to do the | > simplest of all things: move a directory. Of course, I want to do it in | > Ruby but this doesn't work: | > | > FileUtils.mv( @dir, ".trash/" ) | > | > Could someone please show me why am I apparently so stupid. | > | > Thanks, | > T. | | What excactly are you experiencing? On what platform? On my Linux box | with Ruby 1.6.8 when I do | | $ mkdir aaa | $ mkdir .trash | | $ irb -r fileutils | irb(main):001:0> FileUtils.mv "aaa", ".trash/" Yes. That is one of the problems. T.