Answer the question
In order to leave comments, you need to log in
How to add a directory to an archive in debian?
Good day. I'm trying to add a directory to an archive via a .sh script on debian. I do it like this:
zip -r /root/bc/jarmod/myjar.jar /root/bc/jarmod/javasoft/dir
Answer the question
In order to leave comments, you need to log in
cd /root/bc/jarmod/javasoft && zip -r /root/bc/jarmod/myjar.jar dir
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question