4
Bagaimana saya bisa mengecek apakah file gzip kosong?
Apakah ada cara cepat untuk memeriksa apakah file gzip kosong, atau haruskah saya unzip dulu? contoh: $ touch foo $ if [ -s foo ]; then echo not empty; fi $ gzip foo $ if [ -s foo.gz ]; then echo not empty; fi not empty $ wc -l foo.gz …
10
command-line
bash
gzip