Linux – Buscar un string dentro de los ficheros de un arbol de directorios
Usando find y grep: find . -regextype posix-extended -regex ‘^.*[a-f0-9]{20}\.html’ -mtime +1 -exec grep -Hl «elstring» {} \; | wc Remplaza «elstring» por el string …
Usando find y grep: find . -regextype posix-extended -regex ‘^.*[a-f0-9]{20}\.html’ -mtime +1 -exec grep -Hl «elstring» {} \; | wc Remplaza «elstring» por el string …
Para buscar en ficheros Linux: find . -name «*_mobile.html» -exec stat -c «%n %y» {} \; – El punto representa el path, en el …