Ghost files from Mac attached to .jpegs on memory stick shared with PC users-Causing Issues for PC users.

I have seen a few of the other posts here, and they are very helpful with the diagnosis. But, when I am sharing jpeg files on a stick, there are several hundred to as much as 1200+ files on a memory stick. This creates a headache for my friends or customers that want to view their photos on a PC. How can I initially remove or just omit these files before I save the "wanted" files on a memory stick.? All this without having to download some special software that may or not be "safe".


Thanks for any info..


-PR

MacBook Pro 16″, macOS 14.1

Posted on Dec 21, 2023 6:15 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 21, 2023 6:57 AM

If the "ghost files" you refer to on FAT32 or exFAT formatted memory sticks appear as dot underscore (e.g. ._) prefaced files, you can remove all of that category naming convention with a single macOS Terminal command aimed at your mounted memory stick volume name:


/usr/sbin/dot_clean -m /Volumes/drivename


This only removes the "._" files and not the regular named files. Those Microsoft drive formats do not support certain aspects of macOS files that are then split out as dot underscore resource fork files.



1 reply
Question marked as Top-ranking reply

Dec 21, 2023 6:57 AM in response to prhodes323

If the "ghost files" you refer to on FAT32 or exFAT formatted memory sticks appear as dot underscore (e.g. ._) prefaced files, you can remove all of that category naming convention with a single macOS Terminal command aimed at your mounted memory stick volume name:


/usr/sbin/dot_clean -m /Volumes/drivename


This only removes the "._" files and not the regular named files. Those Microsoft drive formats do not support certain aspects of macOS files that are then split out as dot underscore resource fork files.



This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Ghost files from Mac attached to .jpegs on memory stick shared with PC users-Causing Issues for PC users.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.