Sample Header Ad - 728x90

zip: cannot use the -FF flag and -q flag at the same time

0 votes
1 answer
136 views
I am having trouble quietly zipping a large zip file which needs fixing. I have a large zip file that needs fixing so I can use -FF flag: zip -FF TEST.zip --out TEST_fixed.zip If I want to suppress the print statements I can add the -q flag zip -q -FF TEST.zip --out TEST_fixed_quiet.zip But the resulting file is empty: $ unzip -q TEST_fixed_quiet.zip warning [TEST_fixed_quiet.zip]: zipfile is empty This is not the expected behavior for the -FF flag. Zipping TEST.zip with -FF and without -q yields the correct non-empty archive. Zipping TEST.zip with -F and -q yields the correct non-empty archive. So how can I zip a file quietly with the -FF flag and without destroying it in the process?
Asked by mqjg (1 rep)
Feb 23, 2023, 06:31 PM
Last activity: Feb 23, 2023, 07:56 PM