Roger wrote:

> for i in `ls` ;do chown -R  $i.$i  $i; done

Oh, yeah.  I forgot about chown -R.  Let me modify mine to use that.

perl -F: -nae 'print "chown -R $F[2]:$F[3] $F[5]\n" if $F[5] =~ m./home/.' /etc/passwd

Thank you, Roger.

(I swear, "chown -R" wasn't there when I read the Unix Programming
Manual cover to cover in 1983. (-: )

-- 
Bob Miller                              K<bob>
kbobsoft software consulting
http://kbobsoft.com                     [EMAIL PROTECTED]
_______________________________________________
EuG-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to