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

sfenster

macrumors newbie
Original poster
Jul 21, 2011
1
0
Hi I was trying to delete unlock files on Trash. and I did sudo command on terminal sudo -rm ~ /.trash somthing like this. and quit finder and refresh finder after I refresh finder. it's all disappeared. after I reboot it erased all desktop file. and calander, mail data...application file was reset. anyone knows how to restore this? I already try datarescue, final data..
please let me know if anyone knows how to solve this..
 

dndlnx

macrumors 6502
Dec 9, 2010
332
0
That command doesn't remove anything. Pretty sure it doesn't do anything at all, actually.

Did you mean something like "sudo rm -rf". The remove command permanently deletes stuff. As far as I know, the only way to get stuff that's "removed" is backups. Do you use Time Machine?


In your example, you put "~" with a space after it. That is bad. You're saying "remove my home folder and this".
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.