cannot move to a subdirectory of itself
- by fire
I have 2 folders:
/home/sphinx/articlesdb/
and:
/home/sphinx/tmp/articlesdb/
I want to move and overwrite all of the files from tmp into the main folder.
I am currently using:
mv -f /home/sphinx/tmp/articlesdb/ /home/sphinx/
But I get this error:
mv: cannot move `/home/sphinx/tmp/articlesdb/' to a subdirectory of itself,…