Leslie Wood <Leslie.Wood at Sun.COM> writes:
> 
> find / -user old-name -exec chown new-name:new-group '{}' \;
> 
> If you want to do a sanity check first then
> 
> find / -user old-name -ls        or find / -group 100 -ls
> 
> Find supports user or group in both Linux and OpenSolaris
> 

You'd probably be better off posting in plain text.  I had to work at
it to even read your reply.  I haven't configured all the niceties yet
with my newsreader (emacs/gnus) plus text is kind of the defacto
method on these kind of lists.

I didn't have any trouble figuring out commands to do the job.  But
even the trickiest command takes forever on thousands of small files.
In fact the trickier the command, the longer the wait.

I actually needed to use -uid though, if you notice Blake specified
The user ID NUMBERS being the same.

And ploughing through the file system with a find command will run a
while even when just a plain command but iterating over each hit makes
it a good while.



Reply via email to