find /path/to/the/disk -type d -name "@eaDir" -delete
Note that the order here is fundamental: quoting manpage,
Warnings. Do not forget that the find command line is evaluated as an expression, so first setting -delete will make find try to delete everything below the starting points you specified.
So, as usual, first try running the find with -print , and then when you check that everything is working fine, replace it with -delete . Note that -delete means -depth , so to conduct meaningful testing with -print you must explicitly specify it in the expression:
When testing the find command line that you later intend to use with -delete, you must explicitly specify -depth to avoid later surprises.
source share