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

mgsolidsnak3

macrumors member
Original poster
Mar 31, 2007
35
0
Hello

I have just did a really silly mistake trying to remove a program, the instructions was: sudo rm -rf /applications/adeona/

but instead made the mistake hitting return before writting adeona, neeedless to say my applications started deleting, after seing this i have switched it off. I have lost about 3.5GB worth of data, apps starting with letters a & b. I know that apperture, amsn, age of empires was deleted which i dont really care

There are not in trash btw. Is there a way to retrieve them or at least see what has been deleted?

Thanks.
 
You told it to delete everything in your /Applications folder. rm instantly deletes everything without remorse (that's how the function operates), so there will be nothing in the Trash. If you want rm to double check with you if you want to delete whatever it is you're deleting, use the -i flag. So you would use sudo rm -i -rf <file/folder>. Since you switched the system off, you probably have corrupted programs and files.

Sounds like a job for Time Machine. You should be able to simply restore your Applications folder, and everything will be good as new.
 
Duff-Man says....restore from backup, whether it be Time Machine or what have you......you *do* back up don't you? If not, it is reinstall apps time and time to think about a backup strategy....oh yeah!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.