From: Stephen Shirley (diamond at domain skynet.ie)
Date: Fri 20 Sep 2002 - 16:32:03 IST
On Fri, Sep 20, 2002 at 04:22:15PM +0100, John Allman wrote:
> Hi - i dont know if there's a program to do this all ready - i strongly
> suspect there is (if not i might just write one). I want to call a
> program recursively in each directory under a particular directory. I
> have a little script to do things to every file in a directory. I want
> to call it in every directory inside that directory, and every directory
> in that and so on, recursively.
How about:
find /path/to/base -type d -exec /path/to/script \;
(not tested)
Steve
-- High salt diets are bad for you - but only outside marriage.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:18:59 GMT