added a " to the script to solve a bug
This commit is contained in:
2
comp.sh
2
comp.sh
@@ -32,6 +32,6 @@ TOTAL_SIZE=$(du -sb "${INPUT_FOLDER}" | awk '{print $1}')
|
||||
|
||||
# Run compression with progress bar
|
||||
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!"
|
||||
|
||||
Reference in New Issue
Block a user