i know how to add a file to the root folder within a zip file:
zip -g xxx.apk yyy.txt
but i’ve no idea how to specify a particular folder within a zip file
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you need to add the file to the same folder as in the original directory hierarchy, then you just need to add the full path to it:
Otherwise, probably the easiest way to do that is to create the same layout you need in the zip file in a temporary directory.