How to Remove .Ds_Store Files on Mac Os X
To delete a corrupted .DS_Store file you will need to use Terminal.app., Open Terminal., Give yourself super-user (root) permissions in Terminal so you can use the commands needed to delete some .DS_Store files.
Step-by-Step Guide
-
Step 1: To delete a corrupted .DS_Store file you will need to use Terminal.app.
To do that you must be logged into Mac OS X as an administrator., Open a new finder window and navigate to the Applications folder on the left. (Alternately, when it says 'Finder' beside your Apple in the top left hand corner of the screen, select the 'Go' menu and click 'Applications'.) Inside the Applications folder near the very bottom is the 'Utilities' folder.
Open that folder.
Find and double-click the 'Terminal' application with the left mouse button to open it. , This is done using the 'sudo' command (Switch User and Do).
In terminal type the following sudo ls (all lowercase) and hit on your keyboard.
Terminal will prompt you for a password Use your administrator account password.
If you don't have a password, leave it blank. -
Step 2: Open Terminal.
-
Step 3: Give yourself super-user (root) permissions in Terminal so you can use the commands needed to delete some .DS_Store files.
Detailed Guide
To do that you must be logged into Mac OS X as an administrator., Open a new finder window and navigate to the Applications folder on the left. (Alternately, when it says 'Finder' beside your Apple in the top left hand corner of the screen, select the 'Go' menu and click 'Applications'.) Inside the Applications folder near the very bottom is the 'Utilities' folder.
Open that folder.
Find and double-click the 'Terminal' application with the left mouse button to open it. , This is done using the 'sudo' command (Switch User and Do).
In terminal type the following sudo ls (all lowercase) and hit on your keyboard.
Terminal will prompt you for a password Use your administrator account password.
If you don't have a password, leave it blank.
About the Author
Ryan Burns
Committed to making organization accessible and understandable for everyone.
Rate This Guide
How helpful was this guide? Click to rate: