Tag: find
-
Using `xarg` to pass to `find`
I just found myself needing to run wc -l on all the files in a list of directories – in my case, I had a big old list of directories with a matching name. But I wanted to calculate the total number of files in those directories. Unfortunately, find is very particular about where its…