Skip to content

Instantly share code, notes, and snippets.

@dstnbrkr
Created December 6, 2011 23:50
Show Gist options
  • Save dstnbrkr/1440673 to your computer and use it in GitHub Desktop.
Save dstnbrkr/1440673 to your computer and use it in GitHub Desktop.
Find references to a resource
grep -Rl "$1" * | grep -v build | grep -v BankSimple.xcodeproj | grep -v Icon*.png | grep -v Assets
filename=$1
extension=${filename##*.}
filename=${filename%.*}
grep -Rl $filename * | grep -v build | grep -v BankSimple.xcodeproj | grep -v Icon*.png | grep -v Assets
@esromneb
Copy link

Just for public record, this gist goes really well with: https://gist.github.com/1440655

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment