Skip to content

Commit

Permalink
Switched to pigz for compression
Browse files Browse the repository at this point in the history
- this is way faster than gzip but still produces gzip data
  • Loading branch information
daniellockyer committed Dec 9, 2024
1 parent 9dd9ea3 commit 34b8962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate-fake-data-js-csv/data-export.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ for file in ./data/*.csv; do
if [ -f "$file" ]; then
echo "Compressing $file..."

gzip -9 -c "$file" > "./data/gz/$(basename "$file").gz"
pigz -c "$file" > "./data/gz/$(basename "$file").gz"
fi
done

0 comments on commit 34b8962

Please sign in to comment.