Drew Raines <[EMAIL PROTECTED]> wrote:
> * Marcus Reid <[EMAIL PROTECTED]>:
>> for sname in `find /service -name supervise`; do
>>      svc -d `dirname $sname`
>> done
...
>  To do what you're trying to do, you could add a -follow to your find
>  command.  The only problem there is svc doesn't want a supervise
>  directory, it wants supervise's parent directory, a la /service/<whatever>.)

That's why he used dirname.  -follow is enough to make it work.


paul

Reply via email to