Appunti GIS

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


Pubblicato da Unknown alle 00:56 Nessun commento:
Invia tramite emailPostalo sul blogCondividi su XCondividi su FacebookCondividi su Pinterest
Post più recenti Post più vecchi Home page
Iscriviti a: Post (Atom)

Informazioni personali

Unknown
Visualizza il mio profilo completo

Archivio blog

  • ►  2017 (1)
    • ►  novembre (1)
  • ►  2016 (4)
    • ►  luglio (1)
    • ►  maggio (1)
    • ►  aprile (2)
  • ▼  2015 (3)
    • ►  luglio (1)
    • ▼  giugno (1)
      • How find a text inside all files of a folder
    • ►  gennaio (1)
  • ►  2014 (12)
    • ►  agosto (3)
    • ►  luglio (1)
    • ►  giugno (3)
    • ►  maggio (5)
Tema Semplice. Powered by Blogger.