logo
search
OneDrive File Issues

How to Delete Duplicate Dot Files Created by OneDrive on Mac

John WilsonJohn Wilson Oct 21, 2026 869 views

Question details

The user needs to remove duplicate metadata files prefixed with a dot (e.g., .DSC_0023.jpg) that appear alongside original images in OneDrive.

How to Delete Duplicate Dot Files Created by OneDrive on Mac
Product
OneDrive
Device & OS
macOS
Scenario
Uploading photo collections to OneDrive from a Mac or an external exFAT drive.
Observed behavior
Hidden macOS metadata and thumbnail files starting with a period are synced to the cloud as visible duplicates of the original image files.
Before you start

Verify that your original image files (the ones without the dot prefix) are present in OneDrive and open correctly before deleting any duplicated items.

Solution 1Recommended

Unhide and Delete Metadata Files Directly on Mac

Use a macOS keyboard shortcut to reveal hidden metadata files in your local OneDrive folder and delete them.

macOS often creates hidden files starting with a period to store metadata and thumbnails, especially when handling files on exFAT or FAT32 external drives. Unhiding these files locally allows you to remove them quickly before or after they sync to OneDrive.

1
Open Finder

Launch Finder and navigate to the specific OneDrive folder containing your photo collections.

2
Reveal hidden files

Press Command + Shift + Period (.) on your keyboard. This will instantly make all hidden files, including those starting with a dot, visible in the folder.

3
Delete the dot files

Select the unwanted metadata files (e.g., .DSC_0023.jpg) and move them to the Trash. Once deleted, press Command + Shift + Period (.) again to re-hide system files.

About Dot Files: These dot-prefixed items are AppleDouble metadata files, not your original photos. Deleting them will only remove the macOS-specific attributes, leaving your actual images completely intact.
Free Microsoft Office alternative

Manage Your Files and Documents Effortlessly with WPS Office

If you are reorganizing your cloud files and looking for a better way to handle your daily documents, WPS Office is an excellent choice. It provides a lightweight, all-in-one environment for your Mac that seamlessly replaces heavy office software while maintaining perfect format compatibility.

  1. 1. Download WPS Office: Visit the official WPS website and download the macOS version.
  2. 2. Install the application: Open the downloaded package and drag the WPS Office icon to your Applications folder.
  3. 3. Open and edit: Launch WPS Office and directly open any Office document formats stored on your Mac or cloud drive.
Fully compatible with Microsoft Word, Excel, and PowerPoint file formats.Lightweight installation that saves precious disk space on your Mac.Intuitive tabbed interface to help you organize multiple documents without desktop clutter.Built-in cloud features for seamless cross-platform file synchronization.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Mac create files starting with a dot in OneDrive?

When macOS interacts with non-native file systems like exFAT (commonly used on external drives), it creates hidden 'AppleDouble' files starting with a period. These files store resource forks, custom icons, and metadata that the file system cannot handle natively. OneDrive simply syncs these files as regular data.

Will deleting these duplicate dot files harm my original photos?

No. The dot-prefixed files contain only system metadata and thumbnail caches. Your original image files (without the dot prefix) contain the actual photo data and will remain completely unaffected.

How can I stop macOS from creating these files on my external drives?

While you cannot completely disable macOS from creating these files on exFAT or FAT32 drives, you can clean them up using the 'dot_clean' command in the macOS Terminal, or rely on third-party Mac utilities to strip metadata before moving the folders to your OneDrive sync directory.