Would this modified to suit your needs work ?<br>
<br>
find . -type f -print0 | xargs -0 -n 1 SetFile -a l      <br>
<br>
Unlocks all the files in the current directory and below.<br>
<br>
<br>
find . -type f -print0 | xargs -0 -n 1 SetFile -a L<br>
<br>
Locks all the files in the current directory and below.<br>
<br>
Tenzin<br>