0

Yeah, so I was trying to move a folder around, and now I'm having trouble finding it.

Originally it was in my .../Downloads/ directory.

I did: sudo mv Downloads/Blah/ ~/ ... which seemed to work fine.

Then I realized that the folder I moved was using other files from the Downloads directory, so I tried to move it back.

I did: sudo mv Blah/ /Downloads/ ... I note that I probably should have typed Downloads/ rather than /Downloads/.

Now, I can't find the folder "Blah". I tried ls in Downloads, to no luck.

I have also tried sudo find / -name Blah -type d and other variations of the find command.

Any suggestions?

4

Did you have a /Downloads folder before? Because most likely, now your Blah directory is /Downloads.

In the future, you probably should avoid using sudo for these types of operations. They're all inside your own directory, you shouldn't need to use it at all.

  • Yes, the /Downloads folder existed... it's where I originally moved Blah out of (to home directory). So now the contents of /Downloads have been removed in place of Blah? – d0rmLife Dec 29 '14 at 18:55
  • So, when you say .../Downloads/ you mean /Downloads/? – jsbillings Dec 29 '14 at 18:56
  • Sorry for ignorance. I mean user$/Downloads/. – d0rmLife Dec 29 '14 at 18:57
  • @d0rmLife you renamed ~/blah to /Downloads which is a directory in the root dir of the filesystem / instead of in your home directory ~ – steeldriver Dec 29 '14 at 18:58
  • The contents of the old ~/Downloads/Blah/ should be inside /Downloads/, if it was indeed renamed as steeldriver said. – jsbillings Dec 29 '14 at 18:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.