Im getting frustrated with osx leaving its trash folder (and other misc "hidden" files) on my usb drive when i eject, so im wondering if its possible to run an applescript or something when i eject the drive so i can make the applescript erase all the "hidden" files so they dont clog up my stereo seeing as my stereo sees the trash folder as justa normal folder and it thinks "._songname.mp3" is an actual mp3.
So essentially i want to:
start unmount process
run applescript to erase every ".*" file
finish unmount process
So essentially i want to:
start unmount process
run applescript to erase every ".*" file
finish unmount process