Find and gzip files in directory in parallel
To find all files with a specific name or pattern and gzip them in parallel run
find /path/to/files/ -type f -name '*.csv' -print0 | parallel -q0 gzip -9
To find all files with a specific name or pattern and gzip them in parallel run
find /path/to/files/ -type f -name '*.csv' -print0 | parallel -q0 gzip -9