Add log messages for lengthy operations.
This commit is contained in:
parent
3586a185d6
commit
3e76b0f2d8
@ -26,9 +26,13 @@ TOP_DIR=$(pwd)
|
|||||||
xz_compress() {
|
xz_compress() {
|
||||||
FILE="$1"
|
FILE="$1"
|
||||||
if which pixz >/dev/null 2>&1; then
|
if which pixz >/dev/null 2>&1; then
|
||||||
|
printf 'Compressing %s with pixz...' "$FILE"
|
||||||
pixz "$FILE"
|
pixz "$FILE"
|
||||||
|
echo ' done'
|
||||||
else
|
else
|
||||||
|
printf 'Compressing %s with xz...' "$FILE"
|
||||||
xz "$FILE"
|
xz "$FILE"
|
||||||
|
echo ' done'
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user