.DS_Store file on a Mac
  • acye March 2012

    I was trying to go through the missions, and everything.. well.. I just can't create a tarball without this pesky .DS_Store file that Finder creates in every directory. I tried:
    COPYFILE_DISABLE=true tar zcvf myproject-0.1.tar.gz --exclude='DS_Store' myproject-0.1
    But, no, the file is still there.
    What to do?
  • You are missing an all-important "." (period) character!

    make it --exclude=".DS_Store"

    Notice that my exclude parameter has one extra "." compared to yours.

Welcome to the OpenHatch forums!

OpenHatch is a community of people aiming to help newcomers find their way into free software projects. If you like talking about that, please join the conversation!

Sign in or register (ignoreme)