Zip including hidden files

后端 未结 5 389
心在旅途
心在旅途 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 02:02

    If you want to zip all files (+hidden files) Kindly using: zip -r namefiles.zip . The "." is all files in folder.

    zip -r namefiles.zip "folder will zip"
    

提交回复
热议问题