Skip to content

Instantly share code, notes, and snippets.

@balazs-endresz
Last active August 29, 2015 14:10
Show Gist options
  • Save balazs-endresz/b29469823a1e40a85bd2 to your computer and use it in GitHub Desktop.
Save balazs-endresz/b29469823a1e40a85bd2 to your computer and use it in GitHub Desktop.
Run command for all files in directory
find . -name \*.py -type f -exec sh -c 'command $0' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment