[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SAGE] LDAP Migration Question



On 7/2/07, Nick Stoughton wrote:

>  If your find is POSIX conforming, then you can do
>
>  find / -owner $old_uid -exec chown $2 {} +

/me boggle


Cool!  After using find for ... I don't know how many years, I learn 
yet another new option.

Now we not only get to nuke people for excessive unnecessary use of 
"cat", now we can whack them for unnecessary use of xargs....


I'm assuming you're using command-line semantics from something 
derived from Bourne shell, seeing as a C-shell derivation would 
probably misinterpret those braces?

>  USENIX Standards Liaison                Fax:  510 548 5738

That explains a lot.  ;)


Thanks Nick!

-- 
Brad Knowles <brad@shub-internet.org>, Consultant & Author
LinkedIn Profile: <http://tinyurl.com/y8kpxu>
Slides from Invited Talks: <http://tinyurl.com/tj6q4>

09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0