[vox-tech] Shell Scripting Question
Richard Crawford
vox-tech@lists.lugod.org
Fri, 6 Jun 2003 11:03:46 -0700 (PDT)
Micah wrote,
>> This seems like a ideal use for xargs. Try:
>>
>> find . -path '*/messages/*' -type f -print0 | xargs -0 chmod 777
>
> I think:
>
> find . -path "*/messages/$1" -type f -print0 | xargs -0 chmod 777
>
> May be closer to what he wants?
Henry's is more appropriate; the first time, I was looking for files with
a specific filename. This time, I'm looking for all files in the messages
directories. :)