Answer the question
In order to leave comments, you need to log in
How to archive all files from a folder?
I select a folder, I press compress into a zip archive,
then I look inside the files with a dot, i.e. system, but hidden there is
how to fix this junk?
Answer the question
In order to leave comments, you need to log in
And so checkmate part
1. "*" is not equal to "." so much so that it cannot be used for packaging.
For hidden ones will be skipped, so it would be more logical to use .
2. zip is not always available by default.
3. time zip -r -0 archive0.zip . -x ./bitrix/backup\* -x archive*.zip
time - measure time
r - entire folder
- 0 - compression level
-x exclude
. - current folder
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question