OneDrive File Issues

Fix OneDrive for Mac Sync Issues Caused by .DS_Store Files

Chanuka GeekiyanageChanuka Geekiyanage Nov 22, 2026 868 views

Question details

Find and remove unwanted hidden .DS_Store files from a local OneDrive folder when investigating a sync issue.

Fix OneDrive for Mac Sync Issues Caused by .DS_Store Files
Product
Microsoft OneDrive for Mac
Device & OS
macOS
Scenario
OneDrive appears to be synchronizing for an extended period, and hidden .DS_Store files may be involved.
Observed behavior
The OneDrive menu bar icon shows a circle with two arrows, while .DS_Store files are not normally visible in Finder or on the OneDrive website.
Before you start

Locate the affected OneDrive folder in Finder and confirm its path before using Terminal. Check the OneDrive menu bar icon for any reported sync errors; the rotating arrows alone indicate activity, not necessarily a failure.

Solution 1Recommended

Find and remove unwanted .DS_Store files from OneDrive

Use Terminal to review hidden .DS_Store files in an affected folder and remove them if they are unwanted.

.DS_Store files hold Finder folder-view settings. macOS may recreate them, and removing them does not guarantee that a OneDrive sync problem will be resolved.

1
Locate the OneDrive folder

In Finder, open your local OneDrive folder. To check its location, right-click the folder and select Get Info, or drag the folder into Terminal to insert its path.

2
List matching files

Open Applications > Utilities > Terminal and run find "/YourOneDrivePath/" -name ".DS_Store" -type f -print, replacing the quoted path with the actual folder path. Use a specific affected folder or the entire local OneDrive folder.

3
Review and remove matches

Review the paths printed in Terminal. If the files are confirmed to be unwanted, run find "/YourOneDrivePath/" -name ".DS_Store" -type f -exec rm {} \; with the same verified folder path. Do not delete other or historical files unless you have confirmed they are unwanted.

4
Check synchronization

Click the OneDrive icon in the macOS menu bar and allow synchronization to finish. If errors remain, open the sync activity or error details from the OneDrive menu and check the files named there.

5
Check for updates

Check the OneDrive menu for settings and version information, then update OneDrive if an update is available. Open System Settings > General > Software Update to check for macOS updates.

Find and remove unwanted .DS_Store files from OneDrive
Verify the path first: The removal command deletes matching files in the selected folder and its subfolders. Run the listing command first and confirm the scope before deleting anything.
Free Microsoft Office alternative

Work on Office files with WPS Office for Mac

WPS Office is a free, lightweight alternative for working with documents, spreadsheets, and presentations in a familiar interface. Its Office format support helps make migration straightforward, though it does not repair OneDrive sync issues.

Open and edit Microsoft Word, Excel, and PowerPoint formatsWork with documents and spreadsheets while investigating OneDrive sync issuesUse a familiar interface for an easier transition from Microsoft OfficeAccess free tools in a lightweight Office suite
microsoft office alternative - wps office

Frequently Asked Questions

What are .DS_Store files on a Mac?

They are hidden files that store Finder folder-view settings. macOS can recreate them after they are removed.

How can I see .DS_Store files in my OneDrive folder?

In Terminal, run find "/YourOneDrivePath/" -name ".DS_Store" -type f -print, replacing the quoted path with your local OneDrive folder or an affected subfolder.

Does the circle with two arrows mean OneDrive is blocked?

Not necessarily. It indicates sync activity. Click the OneDrive icon in the menu bar to check progress and look for reported sync errors.

What should I do if removing .DS_Store files does not fix syncing?

Click the OneDrive menu bar icon and inspect the sync activity or error details for other affected files. Also check for OneDrive updates and open System Settings > General > Software Update to check macOS.