Synology NAS and those pesky @eaDir folders

CLI, Shell Script, synology
If you've enabled MediaServer and/or PhotoStation on your Synology NAS you might have noticed a bunch of "@eaDir" folders inside your data folders. You will not normally see this under samba or appletalk connections. I noticed it since I was trying to rsync from synology to a old qnap nas I have lying around. Although you can turn these services off from the Control Panel, it does not get rid of these dumb folders. So here is a quick script to clean all the "@eaDir" folders up from your synology disk. NOTE: I'VE INTENTIONALLY NOT USED THE "rm -rf" COMMAND HERE. I DON'T WANT YOU TO DESTROY YOUR NAS SERVER WITH JUST ONE COMMAND. Run the command below and it will "echo" the names of these "@eaDir" folders to the…
Read More

Synology DSM3.2 and older rsync implementations….

synology
Got my hands on a new Synology 1511+ a few days ago and discovered something odd. Where as before on the QNAP TS-409 Pro I could easily turn on the rsync server and start syncing files/folders off my OSX machine, the process did not work with the new Synology NAS running DSM3.2. I kept getting the error "@ERROR: auth failed on module NetBackup". It turns out DSM3.2 is now using encrypted passwords for the root/admin account and this encryption breaks the older rsync version on the mac. The easiest way I found to fix this -- and YES I realize that this "potentially" reveals the root/admin password if your NAS is wide open to the world, mine is at home behind a NAT and I made sure the rsync password…
Read More