19

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.

Malte Skoruppa
  • 13,846
  • 5
  • 58
  • 65
Hirdesh Vishwdewa
  • 411
  • 1
  • 10
  • 22

1 Answers1

25

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).

Malte Skoruppa
  • 13,846
  • 5
  • 58
  • 65