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

VirtualRoland

macrumors newbie
Original poster
Jul 28, 2016
1
0
Hi community- really hoping you guys can give me a good hint into the right direction.

Background: I was on my way of completely removing all bits and pieces from MS Lync from my computer as it was constantly crashing and I wanted to cleanly reinstall.
While I was removing some folders within Library I was too fast with my fingers and forgot to hit TAB to show folders below Library.

Problem: I executed "rm -rf ../MyUser/Library". I aborted shortly after with CTRL+C, but much stuff was already gone.
Now, many applications lost their settings/licenses/configurations completely.
Extra Info: I didn't do much many disc operations so far besides downloading a recovery software to run a scan. Problem here is, that these programs are mainly targeting video, audio, photo, document files which I don't care about right now. Additionally, these programs

Ask: Do you suggest to bring back my data, and if yes, how? Or would you recommend to just go on and see how many of my max 25 3rd party apps still work and how to make them work again?
Recovery would probably only helpful if it could bring back the files with their original attributes like name, folder, permissions, etc.

Thanks for your comments and help.
 

Attachments

  • 2016-07-28_23-31-39.png
    2016-07-28_23-31-39.png
    391.9 KB · Views: 142

keysofanxiety

macrumors G3
Nov 23, 2011
9,539
25,302
Background: I was on my way of completely removing all bits and pieces from MS Lync from my computer as it was constantly crashing and I wanted to cleanly reinstall.

Jeez, please just use AppCleaner in future. No need to go OTT and sudo-delete it through the Terminal. That's just asking for trouble.

If you're talking about recovering apps – well, you could do that through Migration Assistant if you've already got a Time Machine backup. Otherwise you'll need to reinstall the applications the old fashioned way.

If you're talking about reinstalling core OS files/applications, you can do that by holding CMD+R on startup and selecting 'reinstall OS X'. This will not affect any applications/user data, but will just reinstall the bits that come with the OS.
 

maflynn

macrumors Haswell
May 3, 2009
73,682
43,740
If you can't be sure of what was deleted? I'd look to do a restore from your backup, othewise you need to reinstall as mentioned. You're choices are limited.

I think this is why Apple hides the Library folder - in the future if you really need to remove files in the ~/Library folder, hit cmd-G and type ~/Library You can then Finder and then only delete exactly what should be deleted.

Good luck
 

Fishrrman

macrumors Penryn
Feb 20, 2009
29,294
13,399
MacConfucious say:
"Not so good to be using terminal when you don't plan ahead for what it can do to you!"

Your best bet now is to do a restore from your backups.
 
  • Like
Reactions: ActionableMango
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.