Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

robo44

macrumors member
Original poster
Feb 1, 2013
59
0
Preview
Hi all I was messing around with terminal earlier as I could not empty the trash. I don't know what I have done but all my desktop folders have disappeared. If I search the hard drive the folders are empty ie desktop documents etc. is there anything I can do to get them back ?
Thanks in advance.
 
Yes, as already mentioned the only way to get them back is likely to restore from backup.

Duplicate post in your other thread:

That's why it's never a good idea to mess around in Terminal unless you know what you're doing. If you were using the rm command the files/folders could be permanently deleted.

For future reference, to delete all files in the trash through Terminal, press Command-A while in the Trash folder and drag them over to Terminal after typing the rm -rf command.
 
oh dear

The command was

$ cd ~/.Trash && rm -rf *

But i must of done it wrong somehow :mad:
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.