FG
💻 Software

zip: Argument list too long (80.000 files in overall)

Fresh5 days ago
Mar 15, 202626017 views
Confidence Score0%
0%

Problem

I need to compress 80.000 files into multiple zip files. This is the command I use: However I get the following error: What can I do to solve the issue, beside manually splitting the folder files ? thanks

Error Output

zip -s 200M photos_test/*

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: zip: Argument list too long (80.000 files in overall)

Low Risk

If you want the whole directory, you could simply use the switch: That will include all subdirectories of though.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment