PDA

View Full Version : Restoring folders




Wreckie
Jul 27, 2012, 05:19 AM
Have been themeing ML for some time, changed some folders via dragging new folders to "Get info". As results didn't turn out so great as I tought it will be, now I need to revert icons. Luckily only 10 or so were modified so it is not hard to replace them again. Could anyone please upload default .icns?
Would be appreciated!



ConCat
Jul 27, 2012, 05:39 AM
If you did the "copy icon into the get info window" thing, then here's what you do. If the icon you changed is an application ,some other kind of bundle or a folder, there should be a hidden file named "Icon?" in the bundle (or folder). Remove it, and the icon should return to normal. Use this command:

sudo rm /path/to/folder/or/bundle/Icon?

If it's a file, then use this command:

fileName=/path/to/file ;sudo xattr -d com.apple.FinderInfo $fileName; sudo rm $fileName/..namedfork/rsrc

Wreckie
Jul 27, 2012, 06:00 AM
Thanks!

Seems like OS X made backup by itself.

ConCat
Jul 27, 2012, 06:08 AM
Thanks!

Seems like OS X made backup by itself.

Ah, it all worked out then! Remember, the ConCat is always on your side!