Ubuntu – Moved a directory to an unknown …/ place (three dots)

filesmv

I came across this weird situation when I accidentally moved one of my directory to an unknown place I am unable to find.

What I did was executed this command –

/opt/lampp/htdocs/cake$ mv cakephp/ .../

It did executed without any error, and now I am not able to locate my directory.

I googled this issue but I am not getting any help.

Any help will be appreciated.

Best Answer

You renamed the directory cakephp in /opt/lampp/htdocs/cake to .... Your command was perfectly valid, therefore it did not produce an error.

You should be able to find the directory at /opt/lampp/htdocs/cake/.... Note that files/folder starting with a dot are hidden (hence you need to use, e.g., ls -a /opt/lampp/htdocs/cake to see it).

Related Question