Created
April 8, 2013 15:37
-
-
Save olih/5337747 to your computer and use it in GitHub Desktop.
Search files on Mac OS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Finds a list of jar files | |
find . -name \*.jar -print | |
#Using an alias | |
#Usage list *.jar | |
function list { find . -name "$1" -print ;} | |
export -f list | |
#Search text in files, recursive, ignore case, with file and line number: | |
grep -Hirn term *.txt | |
#Converting svg to thumbnails | |
find . -name \*.svg -exec qlmanage -t -s 1000 -o ~/Pictures/thumbnails/ {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment