I ran

zip book my/

it created a zip file book.zip, but with only my/ as its content, and nothing under its my/, but there is content under ./my/. I wonder how I can zip it correctly?

1 Answer 1


zip -r book my/

-r stands for recursive.

man zip (or zip -h in case man pages are not available in your system) may help you understanding other useful options as well.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .