include short-form examples for zip

This commit is contained in:
kneutron 2021-04-27 23:33:14 -05:00 committed by GitHub
parent b959d5892a
commit 89f16bb6be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,6 +75,9 @@ for i in *.zip; do
bn=$(basename $i .zip)
time unzip -v $i > flist--$bn.txt
# Short form: path/filename + %compressed + compressed size
# unzip -v filename.zip |awk '{print $8" "$4" "$3}' |column -t
# unzip -v filename.zip |awk '{print $8" "$1}' |column -t ## just path/filename + original size
done
# TODO zstd