On Sun, 23 Jan 2022 16:18:11 +0200, ITschak Mugzach wrote:

>Gil, it works find for one level -exec of find command. I want it to run
>more commands by chaining.
> 
Ah!  You hadn't mentioned "find" earlier.  Something such as:
    501 $ find . -name x -exec sh -c 'ls -ld {}; wc {}' \;
-rw-r--r--  1 paulgilm  wheel  29 Jan 23 07:42 ./x
       1       6      29 ./x
502 $ 

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to