Skip to content

Instantly share code, notes, and snippets.

@marcopin
Created July 2, 2015 20:24
Show Gist options
  • Save marcopin/ffa13d434fc4f617f883 to your computer and use it in GitHub Desktop.
Save marcopin/ffa13d434fc4f617f883 to your computer and use it in GitHub Desktop.
Linux bash: Execute same command for multiple files
find <folderpath> -name <filemask> -exec <command> <extra parameters> {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment