Skip to content

Instantly share code, notes, and snippets.

@ccraig
Created January 15, 2013 17:09
Show Gist options
  • Save ccraig/4540182 to your computer and use it in GitHub Desktop.
Save ccraig/4540182 to your computer and use it in GitHub Desktop.
A very basic find script. Takes one parameter and does a non-case sensitive, wildcard based search on the parameter, in the current directory. On my system the file is simply named "f" and is located in my ~/bin directory. You may want to put this in your /usr/local/bin directory if you dont' have a ~/bin. Should work just fine on any Unix or Li…
#!/bin/bash
find . -iname "*${1}*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment