[OS X TeX] compressing files az .zip

Vincent Verfaille vvvvlists at gmail.com
Sun Aug 1 10:47:12 EDT 2010

Hi Vafa,

To produce a .tar.gz file, you may also use the following Terminal  

MYARCHIVE=package   #-- change it for the folder name of your package

#-- ensure you do not copy and ._* files generated by MacOsX (for HFS)

#-- do the archive + compressing itself
tar -cvf ${MYARCHIVE}.tar --exclude *.DS_Store ${MYARCHIVE}

To use this script, save the text between horizontal lines as  
'tarpackage.sh', and then type in the Terminal:
chmod +x tarpackage.sh   # add execute mode
./tarpackage.sh  # execute the script
That's what I am using and it did the trick...



Le 31-Jul-10 à 11:22 PM, Vafa Khalighi a écrit :

> 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?
> -- 
> Best wishes,
> Vafa Khalighi
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex

More information about the MacOSX-TeX mailing list