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
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.
 
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.
 
Do you remember exactly what you did?

If they are actually deleted then the only thing you can do is use some data recovery program.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.