Skip to content
Advertisement

Tag: zip

Can i store unix permissions in a zip file (built with apache ant)?

I’m building a linux installer for a Java application, and I end up with an install.jar and a setup.sh that I put in a zip file using ant. The idea is the user unzips the zip file and then runs setup.sh but the trouble is that they always need to chmod setup.sh first to give themselves execute permissions. I want

How to create a zip file without entire directory structure

I am trying to create a zip file and want to preserve most of the directory structure, but not the rootdir as defined from the command line. The command I’m using is: I’d like it to recurse through bar and add all files with preserved directory structure (which it does). However I do not want ‘foo’ to be the top

Advertisement