Technical Trivia
Monday, January 21, 2019
Grepping specific files recursively
To search the pattern
PAT
in all
csv
and
csv.bak
files in the directory
DIR
and its subdirectories, do
grep --include=*.csv* -ER "PAT" DIR
[Courtesy:
this
]
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment