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
]
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)