duplicate directory files showing up in .zip

Discussion in 'Mac Basics and Help' started by multiplier, Jul 30, 2009.

  1. multiplier macrumors newbie

    Joined:
    Jan 1, 2009
    #1
    I'm trying to release a WordPress theme on my site which I've developed on the Mac. When I sent it to my friend with a PC, he unzipped it and noticed it generated empty files based on the names of the subdirectories (see attached image). Also when you first open the .zip, there's an empty folder called __MACOSX. Any idea how to keep the whole package a little more clean?
     

    Attached Files:

  2. Makosuke macrumors 603

    Joined:
    Aug 15, 2001
    Location:
    The Cool Part of CA, USA
    #2
    Those are standard Mac metadata files that will be created on any filesystem that doesn't have native support for said metadata and/or Mac file resource forks (which basically means FAT-formatted disks). The same would be true of .DS_Store files, which are view metadata for folders.

    A quick Google search turns up this:
    http://cybernetnews.com/helpful-tip-create-zip-archives-without-ds_store-on-a-mac/

    ...which may help.
     
  3. multiplier thread starter macrumors newbie

    Joined:
    Jan 1, 2009
    #3
    Thanks a lot Makosuke. I think my Googling failed because I wasn't quite sure how to phrase my question and wasn't sure what the metadata/resource fork stuff was called. Price of being a newb :)

    Checking out the Automator workflow bundle now....
     

Share This Page