dbk: Delete the `.check` file after the write test
[sunny256-utils.git] / tarsize
blob33c2c8053a01bfbefc344bf6a60ab79536314fd4
1 #!/bin/sh
3 # tarsize
4 # File ID: 68aa6aee-5d46-11df-a094-90e6ba3022ac
5 # Viser størrelsen på en tar-fil av en directory.
7 if [ $# -eq 0 ]; then
8 DIR="."
9 else
10 DIR=$1
13 echo "Upakket: `tar cf - $DIR 2>/dev/null | wc -c`"
14 echo "Pakket : `tar czf - $DIR 2>/dev/null | wc -c`"