Skip to content

Instantly share code, notes, and snippets.

@arelra
Last active August 29, 2015 14:18
Show Gist options
  • Save arelra/16549ff7815fed125177 to your computer and use it in GitHub Desktop.
Save arelra/16549ff7815fed125177 to your computer and use it in GitHub Desktop.
parallel cp
find . -maxdepth 1 -type f -name 'x*.txt' -printf '%f\n' | xargs cat | parallel -j16 -N 1000 -I{} cp {} --target-directory=/data &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment