On Thu, 27 Mar 2003, Marc Baaden wrote: > I wonder whether there is a GNU like find for fink/MacOsX. > My problem: uids have changed, and I want to find files > with the old uid (-uid flag) and re-chown to the new one.
From: http://www.macosxhints.com/article.php?story=20011021095120946 http://groups.google.com/groups?hl=en&th=2ba5c4861e278f91&rnum=1 This will change everything in in the current dir to the new UID: sudo chown -R NEWUID ~ Find files everywhere and change to newuid:group. I have not tried this one, but it seems correct. sudo find / -user olduid -exec chown newuid:group {} \; Hanspeter -- I'm not a robot like you. I don't like having disks crammed into me... unless they're Oreos, and then only in the mouth. -- Fry ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
