mercoledì 10 giugno 2015

How find a text inside all files of a folder

It return the list of files and the lines where the text is founded.

example: fnd all the files where there is the string FILTERITEM (case sensitive)

find . -type f -fprint /dev/stderr -exec cat {} \; | grep FILTERITEM


Nessun commento:

Posta un commento