bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A new utility: trv


From: Alfred M. Szmidt
Subject: Re: A new utility: trv
Date: Wed, 05 Jan 2005 08:26:12 +0100

   It's called "trv" (for "traverse"). It will recursively traverse a
   directory tree and execute in each subdirectory the command passed
   as an argument.

How is this different from say,

for x in `find . -type d`; do (cd $x; COMMAND); done

This might be a bit longer, but it is more flexible.

Cheers!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]