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?
Join Stack Overflow to learn, share knowledge, and build your career.
|
In Linux I can zip all(except hidden files) in current directory by doing:
But how do I include the hidden files? |
|||
|
|
|
EDIT: The correct way is The commands shown below are incorrect because they also include the parent directory. Have you tried this:
or you in your case
It should include all hidded files also. |
|||||||||||||||||||||
|
|
Or you can add more simple
|
|||
|
|
|
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 |
|||||
|
|
If you want to zip all files (+hidden files) Kindly using: zip -r namefiles.zip . The "." is all files in folder. |
|||||||||||||
|