I am trying to use pacomp with the -sep parameter to create a separate zip file for each source file. But when I specify a file mask that matches multiple files, only one zip file is created, for only one of the intended files.
Assume the current directory contains five .txt files. After running the following command, five zip files should be created:
Code:
pacomp -a -sep ignored.zip *.txt
- or -
Code:
pacomp -sep ignored.zip *.txt
(The -a option seems to have no effect with -sep. Both versions produce the same result.)
Result: In both cases
only one zip file is created, containing one of the text files.
Expected behavior: every file matching the mask *.txt should be compressed into an individual .zip file, so the example commands should create five separate zip files.
Am I using the parameters incorrectly, or is it a problem with pacomp? I really, really need this to work