Delete Synology's @eaDir directories
Synology creates directories at the most random places called @eaDir
. They are very useful in case you have for example photos in your directory, as Synology keeps metadata and thumbnails all inside this @eaDir
folder.
Nevertheless, every now and then you want to remove all those @eaDir
directories. That’s very well possible. Login through SSH, cd
to your folder, and execute the following to find all @eaDir
folders somewhere in the current directory or any of its subfolders, and delete those @eaDir
directories:
find . -name "@eaDir" -type d -prune -exec rm -rf {} \;