Skip to main content
11 events
when toggle format what by license comment
Apr 11, 2020 at 20:04 comment added Larry I think you're trying to get zip to act like a data base, in that you're asking multiple zips running at the same time to add PDF files to the same zip file, like adding rows in parallel to a data base. Zip doesn't haven any mechanism (nor does tar) to allocate an unknown amount of disk space to a zip file in order to add one PDF file, so that it doesn't interfere with another PDF file. Even if zip files could be concatenated you'd either have to concatenate one at a time, obviating the need for GNU parallel, or have zip allocate the unknown amount of disk space for each PDF.
Apr 11, 2020 at 19:59 comment added Larry [off topic] for your example, you can avoid the ls with parallel "zip {}.zip {} ::: *.pdf
Mar 17, 2020 at 13:26 answer added Ole Tange timeline score: 0
Mar 3, 2020 at 21:12 comment added mttpgn @JeffSchaller That's what we're doing now. Just want to speed things up a bit.
Mar 3, 2020 at 19:39 comment added Jeff Schaller Also: why not zip all.zip *.pdf and be done with it?
Mar 3, 2020 at 19:38 comment added Jeff Schaller There's also unix.stackexchange.com/questions/151644/…, if it helps
Mar 3, 2020 at 19:37 comment added Jeff Schaller What's the requirement on the other end? Can they use unix.stackexchange.com/q/4367/117549 or do you need all of the native PDF files as-is in a top-level zip file?
Mar 3, 2020 at 19:25 answer added nobody timeline score: 1
Mar 3, 2020 at 16:31 history rollback mttpgn
Rollback to Revision 1
Mar 3, 2020 at 16:27 history edited Paulo Tomé CC BY-SA 4.0
Formatted text.
Mar 3, 2020 at 16:24 history asked mttpgn CC BY-SA 4.0