Cannot move folder to a subdirectoy of itself - What's going on?

Posted by calumbrodie on Server Fault See other posts from Server Fault or by calumbrodie
Published on 2011-02-20T22:06:12Z Indexed on 2011/02/20 23:26 UTC
Read the original article Hit count: 287

Filed under:
|
|

O.K I am trying to do the following very simple command and it is failing as follows...

mv '/home/admin/Downloads/folder1' '/home/admin/MyLibrary/MyVideos/TV/folder1/'
mv: cannot move `/home/admin/Downloads/folder1' to a subdirectory of itself,     `/home/admin/MyLibrary/MyVideos/TV/folder1/'

The destination is NOT a subfolder of the source - why is it giving me this error?? Linux version is a custom version of Red Hat on a NAS box. Thanks

© Server Fault or respective owner

Related posts about linux

Related posts about mv