added a " to the script to solve a bug
This commit is contained in:
1 parent
900682e07d
commit
7a857c57f9
1 file changed
+1
-1
@@ -32,6 +32,6 @@ TOTAL_SIZE=$(du -sb "${INPUT_FOLDER}" | awk '{print $1}')
|
|||||||
|
|
||||||
# Run compression with progress bar
|
# Run compression with progress bar
|
||||||
echo "Compressing '${INPUT_FOLDER}' to ' ${OUTPUT_FILE}'..."
|
echo "Compressing '${INPUT_FOLDER}' to ' ${OUTPUT_FILE}'..."
|
||||||
tar -cf - "${INPUT_FOLDER} | pv -s "${TOTAL_SIZE}" | pigz > "${OUTPUT_FILE}"
|
tar -cf - "${INPUT_FOLDER}" | pv -s "${TOTAL_SIZE}" | pigz > "${OUTPUT_FILE}"
|
||||||
|
|
||||||
echo "Done!"
|
echo "Done!"
|
||||||
Reference in new issue
Block a user