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 Monday, April 29, 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

How To Turn Do Not Disturb On Mac

How To Turn On Do Not Disturb On MacBook Air/MacBook Pro/Mac Mini?

Too many message and notifications popping up on Mac disturbs you a lot when you concentrate on your business for sure. This article tells you how to turn on Do Not Disturb on your Mac in detail.

News Tips

macOS 14

macOS 14 (Sonoma): Beta, Compatibility, Release Date & Features

About macOS 14 (Sonoma), including the macOS Sonoma beta version, compatibility, features, release data, and how to download and install macOS 14.

Wiki Tips

disable spotlight mac

How to Disable Spotlight on Mac Ventura

This post tells when you need to disable Spotlight on Mac and how to turn off Spotlight on Mac in different ways.

News Tips