I used this command

>zip -r name.zip myfolder

to zip files in a folder. I want to zip all the files in myfolder without including myfolder in zip file. How do I do that?

| improve this question | | | | |

I managed to overcome this problem using below command

>cd myfolder
>zip -r name.zip .
| improve this answer | | | | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.