2012-11-05

MacJunk

I develop on a Mac, because my company thinks they're awesome. Sometimes, however, I have to take my work home with me, and because I'm sane, I have Windows. Of course, this inevitably leads to Issues.

In case you weren't aware, Mac OS X stores files completely differently than Windows. It's actually quite interesting. The problem is that if you copy a directory straight over, you get a lot of extra files containing metadata. These are, however, completely useless to Windows, and in fact often completely stop things from working.

del /s /q /f .DS_Store

The command line is your friend. Go to the offending directory, run that code, and you're done.

No comments:

Post a Comment