Walraven // Forums // Thread 1925

'move dirname dirdest' moves the contests of dirname into dirdest rather than dirdest/dirname, malap, 2004-07-09 12:27:25
'move dirname dirdest' moves the contests of dirname into dirdest rather than dirdest/dirname
Hmm?, athenon, 2006-08-10 12:46:20
Move shouldn't work at all on dirs, should it? Shouldn't mv be used for that? Or am I just weird? :P
no, malap, 2006-09-21 15:09:09
My title was innacurate, but this really is a bug:

cd
mkdir a
mkdir b
cp /bin/look.c a
mv a b

Now your home dir still has directories 'a' and 'b' but look.c is in 'b'. This is wrong, look.c should be in 'a', which should be in 'b'.
and as a further clarification, sora, 2006-09-25 11:08:05
If you really like being able to do that, the old thing can still be done by

move a/* b

That moves the files in a to b

move a b

should move the folder as an entity into the b folder.
<< forum