pigz icon indicating copy to clipboard operation
pigz copied to clipboard

Feature request: --files-from

Open tim-rex opened this issue 3 years ago • 1 comments

It seems the only way to specify multiple files to be compressed is by specifying them directly on the command line, which is subject to command length limits imposed by the operating system (~~in many cases, 4096 characters~~)

Edit: The command length limit is actually much higher, as defined by ARG_MAX

It could be helpful if a --files-from option were available, similar to rsync.

~~At present the only workaround for a particularly long list of files involves multiple invocations of pigz, perhaps via xargs.~~

tim-rex avatar Feb 07 '22 18:02 tim-rex

@tim-rex

Instead of ```pigz some_glob_pattern" you may try using a loop:

for fn in some_glob_pattern
do
    pigz $fn
done

Hope it helps,

DK

darked89 avatar Dec 15 '22 16:12 darked89