[Cialug] find it already!

Colin Burnett cmlburnett at gmail.com
Sun May 25 12:59:35 CDT 2008


On Sun, May 25, 2008 at 12:26 PM, Zachary Kotlarek <zach at kotlarek.com> wrote:
> or even:
>        find `pwd`
> to get exactly the same output. And if you don't need absolute paths, you
> can even just call:
>        find
> with no arguments at all. The last version has the advantage of being
> shell-safe; the output from `pwd` in the others could contain whitespace or
> shell meta-characters.

find . -print0 | xargs -0 ...

to the rescue!


Colin


More information about the Cialug mailing list