|
|
One way to replace a broken Desktop folder
Unless the folder was somehow transmogrified into a file (which doesn't happen) it's very likely you had a corrupt ".DS_Store" file. Occasionally Finder will create a .DS_Store that makes itself crash, or the file may become spontaneously corrupted.
You should have been able to simply type the following in Terminal to solve the problem if that was the case.
I have seen problems with those hidden files more than once. In one case, it was almost "viral" in nature. If you opened a folder (Folder A) that was okay, and opened another (Folder B) that crashed the finder, opening Folder A in the future would also crash the finder. This made clean-up rather difficult.
I used the "find" command to delete every .DS_Store file on every mounted disk, which solved the problem. The side-effect of doing this is that all your finder views will be reset, but no loss of file data occurs. The find command was:
If you only want to clean up a specific user's home folder or only a specific drive, change the first argument of the find command. For example:
This can also be used to remove other files that are spread out and annoying - it's invaluable for cleaning up extra "Thumbs.db" files when copying images from Windows - but be cautious. There is no Trash; there is no undelete. As with all things in Terminal, punctuation, spacing, and capitalization counts. If you don't understand why a command works, it's best not to be using said command.
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.07 seconds |
|