Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'FIND command clarification' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
FIND command clarification
Authored by: Alper on Mar 17, '10 07:41:54AM
Thanks so much for this System Preference heads up. Exactly what I needed for a distinctly different problem. Two things that users should be aware of: 1. In certain situations the ";" portion of the find command needs to be "escaped" in order for it to be visible to the command. You'll recognize the situation because find will complain that there's "no terminating ';' or '+'." I'm this case you need to enclose the ";" in single quotes, as in:
sudo find -x / -user OLDUID -exec chown NEWUID {} ';'
2. Depending on the number of files associated with the old UID, this command can take a very long time (way longer than a permissions repair, for example).

[ Reply to This | # ]