Skip to content

Instantly share code, notes, and snippets.

@bandicoot86
Created July 3, 2014 15:43
Show Gist options
  • Save bandicoot86/0eaf3d787c6e68f291b7 to your computer and use it in GitHub Desktop.
Save bandicoot86/0eaf3d787c6e68f291b7 to your computer and use it in GitHub Desktop.
Find one string per file and copy
grep -Ril -m1 "exportData" | xargs -L 1 -i cp {} /home/astrloger/1_part_RTK/export/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment