From: "trans. (T. Onoma)" Date: 2004-12-23T13:12:17+09:00 Subject: Re: All I want to do is move a directory :( On Wednesday 22 December 2004 08:04 pm, Minero Aoki wrote: | It depends on what is the *correct* behavior. | At least GNU mv does not overwrite directory: | | % find | . | ./trash | ./trash/a | ./trash/a/test | ./a | ./a/test | ./a/test2 | % mv a trash | mv: cannot overwrite directory `trash/a' | % mv -f a trash | mv: cannot overwrite directory `trash/a' | % find | . | ./trash | ./trash/a | ./trash/a/test | ./a | ./a/test | ./a/test2 | % | | In my opinion, :force option ensures only that #mv does not | raise exception, it does not imply continuing process. | Hmm. I thought for sure -f overwrote, but indeed you are right. So that means one must perform a 'rm -r' first? If so that's really bad, as it is a much more dangerous way to have to go about it. If the wrong directory name got in there it could spell the end of one's machine :( Is there no way to simply (and truly) _force_ a move? Thanks, T.