Skip to content

Instantly share code, notes, and snippets.

@47ronin
Last active July 18, 2016 16:05
Show Gist options
  • Save 47ronin/7a5967b9f4003206ac7cbabb53694254 to your computer and use it in GitHub Desktop.
Save 47ronin/7a5967b9f4003206ac7cbabb53694254 to your computer and use it in GitHub Desktop.
BASH command to recursively search current directory for filenames containing string; case-insensitive, ending with specific extension
#!/bin/bash
find . -iname "*string*.jpg"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment