[URGENT] Restore files After use sudo -rm command

Discussion in 'Mac Pro' started by sfenster, Jul 21, 2011.

  1. sfenster macrumors newbie

    Joined:
    Jul 21, 2011
    #1
    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..
     
  2. Dnix macrumors 6502

    Joined:
    Dec 9, 2010
    #2
    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".
     

Share This Page