T
T
T_y_l_e_r2016-12-18 13:31:02
linux
T_y_l_e_r, 2016-12-18 13:31:02

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

2 answer(s)
V
Victor Taran, 2016-12-19
@shambler81

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 question

Ask a Question

731 491 924 answers to any question