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:
This should do it:
cd /foo/bar/ zip -r ../out.zip *
The archive will be in /foo/out.zip
/foo/out.zip