[OS X TeX] compressing files az .zip

cfrees at imapmail.org cfrees at imapmail.org
Sun Aug 1 10:53:24 EDT 2010

On Sun 1st Aug, 2010 at 13:22, Vafa Khalighi seems to have written:

> Sorry if my question is irrelevant to TeX. I maintain some TeX macro
> packages and recently I have moved to Mac OSX 10.6.4 but when I compress my
> packages as .zip for uploading them to CTAN, this zip file contains some Mac
> files. How can I remove these extra Mac files from the zip file?
I use a script which is basically like this on Tiger:
 	#!/bin/sh -
 	gnutar -czf $1.tar.gz $1
I'm assuming something similar will work for zip.

For Leopard, I believe you need:
 	export COPYFILE_DISABLE=true
as the second line though I haven't tested this. I'm not sure about
Snow Leopard.

I found that removing .DS_Store files wasn't enough. But perhaps zip
differs from gnutar in this respect.

Good luck,

More information about the MacOSX-TeX mailing list