13
2
I need to compress 80.000 files into multiple zip files. This is the command I use:
zip -s 200M photos_test/*
However I get the following error:
-bash: /usr/bin/zip: Argument list too long
What can I do to solve the issue, beside manually splitting the folder files ?
thanks
The error
-bash: /usr/bin/zip: Argument list too long
may cause in to case: 1- because of not using-r
switch, 2- there too many files for archiving. So in first case @Mat's answer is true and in the second case the @IgnacioVazquez-Abrams's answer is true. – shgnInc – 2014-07-06T06:57:58.690