Zip including hidden files

后端 未结 5 402
心在旅途
心在旅途 2021-01-30 01:31

In Linux I can zip all(except hidden files) in current directory by doing:

zip 1.zip *

But how do I include the hidden files?

5条回答
  •  庸人自扰
    2021-01-30 01:52

    Just to be sure it is not forgotten since this is a forum for developers and a good number of us use git.

    An easy way to get only what you want in the zip is to use git archive -o filename.zip branch

提交回复
热议问题