Hacker News new | ask | show | jobs
by ivansavz 4336 days ago
1. plz remove junk files from the zip file:

   inflating: nemex/php/zipProject.php
   inflating: __MACOSX/nemex/php/._zipProject.php   <---

2. provide a real download link --- I want to copy paste and wget from my server but when I right-click copy link I got http://beta.nemex.io/#download ... I had to manually deduce the correct url is http://beta.nemex.io/php/download.php ...
1 comments

Is there a tool that automatically strips this? I keep finding this in Wordpress plugins and themes I download...
On the command line, this should work for tgz:

    COPYFILE_DISABLE=1 tar cvzf release.tgz file1 dir1 dir2 ...
or for zip:

    zip -r -X release.zip  folder_to_compress
via http://unix.stackexchange.com/questions/9665/create-tar-arch... and http://coolestguidesontheplanet.com/how-to-compress-and-unco...
If you use a Mac there is a great utility called "BlueHarvest". It costs a little bit of money, but I've been using it for years and it's fantastic.