Getting rid of the @eaDir folders on Synology NAS DSM

The @eaDir directories contain extended attributes and thumbnails that take up quite a bit of space, not unlike Windows Thumbs.db files.

Here’s how to get rid of them easily from the command line.

First, SSH into your Synology NAS box and log in as root, then type this to locate the @eaDir folders:

find . -name "@eaDir" -type d | more

If you’re happy you’re not going to accidentally delete something important, then make it happen:

find . -name "@eaDir" -type d -print0 | xargs -0 rm -rf

Note that after deleting the directories, you may also want to disable the services that created them.

Do you have any feedback on the above? Please leave it in the comments section below. Thank you!

About these ads

, , , ,

  1. #1 by kubikajiri on June 13, 2013 - 9:08 am


    Awesome guide, those @eaDir’s synology and OSX .DS_Store files are really annoying.

    Thanks for the help, keep up the good work!

  2. #2 by Arjay67 on March 7, 2014 - 12:07 pm

    Thanks for the instructions. However, when I attempt to delete the files I get thousands of errors stating that the files are read-only. Any tips on how to blast these away?

    • #3 by Mike Beach on March 7, 2014 - 10:03 pm

      Be sure you are logged in as root.

  3. #4 by Pascal on April 4, 2014 - 6:06 pm

    I had many of my files locked as “in use” and though, I was unable to read them. I deleted all those @eaDir and everything went back to normal.

Share your thoughts

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

Join 110 other followers

%d bloggers like this: