Skip to content

Instantly share code, notes, and snippets.

@coldhawaiian
Created February 7, 2014 20:13
Show Gist options
  • Save coldhawaiian/8870837 to your computer and use it in GitHub Desktop.
Save coldhawaiian/8870837 to your computer and use it in GitHub Desktop.
Bash command for opening multiple files in your favorite editor
# Example $FILE_PATTERN: '*.js'
find $DIRECTORY -type f -name $FILE_PATTERN -exec $EDITOR "{}" \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment