I had an old mac that I decided to strip down for its hard-drive and RAM. I threw a shell on the hard-drive, and now I can connect it to my new mac with a USB cable.
Essentially I want to be using it like any other USB drive. However, mac keeps putting hidden files on it every time I plug it in:
drwxrwxrwx 1 user staff 32768 Jun 16 09:31 .Spotlight-V100/
drwxrwxrwx@ 1 user staff 32768 Jun 16 09:31 .Trashes/
-rwxrwxrwx 1 user staff 4096 Jun 16 09:31 ._.Trashes*
-rwxrwxrwx 1 user staff 4096 Jun 16 09:31 ._.com.apple.timemachine.donotpresent*
-rwxrwxrwx@ 1 user staff 0 Jun 16 09:31 .com.apple.timemachine.donotpresent*
drwxrwxrwx 1 user staff 32768 Jun 16 09:32 .fseventsd/
Is there any way to have all this disabled, or is it simply a side-effect of the fact that the drive came from a mac?
diskutil list
or report back what format the USB drive is, perhaps we can assist with a change to prevent some of those folders. – bmike Jun 16 '13 at 14:54