Skip to content

Instantly share code, notes, and snippets.

View XULRunner42's full-sized avatar

Kingdon Barrett XULRunner42

View GitHub Profile
#!/bin/bash
GZIP="gzip --best --rsyncable --quiet"
for DEST in $* ; do
[ ! -d "${DEST}" ] && exit -1
echo Running \"${GZIP}\" on everything in \"${DEST}\"
TRACKING="/tmp/${RANDOM}_parallel_gzip"
mkdir -p "${TRACKING}"