01-21-2022, 02:54 PM
(01-21-2022, 12:50 PM)Tim Curtis Wrote: OS X is particularly annoying with its creation of hidden resource files which are completely useless in Linux. MPD in moOde will index them and create ghost albums etc. They can be filtered out with a .mpdignore file in the root music directory but its far better to delete them altogether.Thank you. I will delete them and yes I would certainly agree with OSX is annoying! ?
I use the commands below.
Code:cd MUSIC_DIRECTORY_ROOT
sudo find . -name "._*" -exec rm -rf {} \;
sudo find . -name ".Trashes" -exec rm -rf {} \;
sudo find . -name "._.Trashes" -exec rm -rf {} \;
sudo find . -name ".Spotlight*" -exec rm -rf {} \;
sudo find . -name ".DS_Store" -exec rm -rf {} \;
sudo find . -name "._.DS_Store" -exec rm -rf {} \;
sudo find . -name ".fseventsd*" -exec rm -rf {} \;
sudo find . -name "._.com.apple.timemachine.donotpresent" -exec rm -rf {} \;
sudo find . -name ".com.apple.timemachine.donotpresent" -exec rm -rf {} \;
sudo find . -name ".TemporaryItems" -exec rm -rf {} \;
sudo find . -name "._.TemporaryItems" -exec rm -rf {} \;
sudo find . -name "._moodecfg.txt" -exec rm -rf {} \;
sudo find . -name "__MACOSX" -exec rm -rf {} \;