Coder Bits and Pieces
Friday, September 3, 2010
Unix find with Unix grep
Try ...
find . | grep -v svn | grep "\.tex"
... to find all
.tex
files recursively.
There options to do this directly in
find
.
But the calling syntax for grep comes more easily to the fingers.
Note the double quotes and the backslash in
"\.tex"
.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment