Remove hidden files when ejecting OS X drive
Mac OS 10.6+
git clone ssh://[email protected]/AssureWeb/CleanUnmount.git
https://github.com/AssureWeb/CleanUnmount/archive/master.zip
Move/copy "Clean Unmount.app" to your Applications directory
Open "Clean Unmount.scpt" with Script Editor and modify / create the application yourself
Place the App in your Dock and/or create an alias on your Desktop and then simply drop the disk you want to Clean Unmount from your Desktop onto the App icon to remove messy hidden files before ejecting