Home > Questions

What are .fseventsd, .spotlight-v100, .TemporaryItems, .Trashes, and ._DS_Store on external drives and network volumes?

When accessing my exFAT drive or network drive on Windows or Android, I notice a lot of junk files (._filename, .fseventsd, .spotlight-v100, .TemporaryItems, .Trashes, ._DS_Store, etc.) I know they are hidden files created by macOS or Finder, but I want to learn more about their purposes. Is there a way to stop them from generating? There are many of these files on removable volumes, and they slow down the drive when accessed from another operating system or program.

Best Answered by

iBoysoft author Jenny Zeng

Jenny Zeng

Answered on Tuesday, August 27, 2024

Those hidden files are created by macOS for various system functions. If you find them intrusive or unnecessary, you can try the tips mentioned below to prevent them from creating.

.fseventsd: This folder keeps track of changes to files and directories on the external drive. This helps applications that need the information. For instance, Time Machine needs it to make incremental backups.

To disable it on your external drive, try creating an empty .fseventsd folder and mark it immutable by running the following commands in Terminal:

/Volumes/Your_External_Drive_Name/

sudo rm -rf .fseventsd/

sudo mkdir .fseventsd

sudo chflags uchg .fseventsd

To reverse the action, try:

sudo chflags nouchg /Volumes/Your_External_Drive_Name/.fseventsd

.spotlight-v100: This directory contains the Spotlight index and related metadata for the volume. You can add this drive to the exclusion list of Spotlight to avoid it being indexed.

.TemporaryItems: This folder holds temporary files and folders created by different applications or system processes. They are safe to delete and are often managed by macOS automatically.

.Trashes: This is where files you delete from removable volumes are temporarily stored until you empty the Trash. To avoid its creation, always empty the Trash with your external drive connected.

._DS_Store: This file stores folder view settings for Finder. If you don't have view preferences on those drives, you can stop ._DS_Store from generating by running the command below in Terminal.

For USB drives:

defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true

For network drives:

defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true

._filename: These AppleDouble files are created by macOS when you copy files to FAT32 or other non-Apple volumes and store resource fork data. Changing the format to HFS+ or APFS will stop them from creating.

 

People Also Ask

Read More Questions

Read More Advice From iBoysoft's Computer Experts

macos sequoia problems fixes

Fix 19 macOS Sequoia Problems[Update&Performance]

Here we gather 19 common macOS Sequoia problems including the macOS Sequoia download and install issues, macOS Sequoia Wi-Fi not working, etc., and provide effective solutions.

How to Tips

Mac blue screen

Mac Blue Screen at Startup or While Sleeping, Here're Fixes

Mac blue screen, blue screen on MacBook Pro, MacBook blue screen, iMac blue screen while sleeping, blue screen MacBook Air

How to Tips

DriverKit Mac

DriverKit on Mac: a Comprehensive Guide for Beginners

If you know nothing about the DriverKit framework, you have come to the right place. This post guides you to get to know this configuration thoroughly with a comprehensive introduction.

Wiki Tips