mercredi 10 juin 2015

How to count nbr of linesin all the files of a directory?

find . -type f | xargs wc -l

find . -type f | grep .py$ | xargs wc -l

find . -name "*.py" | xargs wc -l

Aucun commentaire: