Skip to content

Instantly share code, notes, and snippets.

@polleyg
Created March 20, 2019 05:56
Show Gist options
  • Save polleyg/d5d6068a877a0c8152a2b78316775bd4 to your computer and use it in GitHub Desktop.
Save polleyg/d5d6068a877a0c8152a2b78316775bd4 to your computer and use it in GitHub Desktop.
bq ls --format=csv foo | awk '{if(NR>1)print}' | awk -F, '{print $1}' | xargs -n 1 -P 4 -i bq cp foo.{} foobarred.{}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment