John Oliver wrote:
I want to go through a directory recursively, find all files owned by a
certain group, and change them to a different group ownership. find and
cut aren't doing the trick for me, since there are different numbers of
spaces. Is there a better tool to do this with?
find <startdir> -group <oldgroup> -print -exec chgrp <newgroup> {} \;
The purists would have you use xargs, but I like to see the progress as
it scans the disk.
-a
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list