Remove DS_Store Files On MacOS - Microsoft Support
Maybe your like
Corrupted .DS_Store files can prevent OneDrive from syncing correctly. Deleting the corrupted files can help restore normal sync operation.
No data is lost by deleting the corrupted files as Mac Finder only creates .DS_Store files to store viewing options, such as the positions of icons, size of the Finder window, and window backgrounds.
-
To delete a corrupted .DS_Store file, you will need to use Terminal.app.
Note: You must be logged into macOS as an administrator.
-
Open a new Finder window and navigate to the Applications folder on the left.
-
Open the Utilities folder, then double-click the Terminal application.
-
-
Give yourself super-user (root) permissions in Terminal so you can use the commands needed to delete .DS_Store files.
-
In Terminal, type sudo ls then press Return on your keyboard.
-
When Terminal prompts you for a password, enter your administrator account password. If you don't have a password, leave it blank.
Note: For security reasons, macOS won't show any sign that you are typing your password. Just type normally, even though nothing shows.
-
-
Navigate to the folder that is not syncing correctly.
-
In Terminal, type cd followed by a space.
-
Find the folder with the issue but do not open it. Instead, drag its icon into Terminal and watch it complete the path for you, then press Return.
-
-
Remove the .DS_Store folder and all its contents.
Caution: Make sure you are deleting the correct folder.
Type rm -f .DS_Store and press Return.
Note: Terminal will give no indication that this has been completed. It will only return a message if the command did not work.
Need more help?
| | Contact Support For help with your Microsoft account and subscriptions, visit Account & Billing Help. For technical support, go to Contact Microsoft Support, enter your problem and select Get Help. If you still need help, select Contact Support to be routed to the best support option. |
| | Admins Admins should view Help for OneDrive Admins, the OneDrive Tech Community or contact Microsoft 365 for business support. |
Need more help?
Want more options?
DiscoverCommunityExplore subscription benefits, browse training courses, learn how to secure your device, and more.
Microsoft 365 subscription benefits
Microsoft 365 training
Microsoft security
Accessibility center
Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.
Ask the Microsoft Community
Microsoft Tech Community
Windows Insiders
Microsoft 365 Insiders
Was this information helpful?
Yes No (Send feedback to Microsoft so we can help.) What affected your experience? Resolved my issue Clear instructions Easy to follow No jargon Pictures helped Other Didn't match my screen Incorrect instructions Too technical Not enough information Not enough pictures Other Any additional feedback? (Optional) Submit feedback By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.Thank you for your feedback!
×Tag » What Is Ds_store File
-
.DS_Store Files And Why You Should Know About Them - BuildThis
-
.DS_Store - Wikipedia
-
DS_STORE File - What Is It And How Do I Open It?
-
Definition Of .DS_Store - PCMag
-
What Is .DS_Store File In Windows - Super User
-
DS_Store Files (What & How To Open,Hide,Delete & Disable)
-
What Is A DS_Store File And How To Remove It - Switching To Mac
-
What Is It? How To Open A DS_STORE File? - FILExt
-
.DS_STORE 파일이란 - 만두만두
-
What Are '.DS_Store' Files On Mac? - Enigma Software
-
Simple Tips How To Open The DS_STORE File. - File
-
Explainer: .DS_Store Files - The Eclectic Light Company
-
What Is The Ds_store File And How To Open It On Your Mac?