How to chown -R don.lab * for don.users
Problem...
"don.users" has files scattered all over the place. I need to change all of them and only them to "don.lab". Question... Do I have to hunt them down and change them one by one or is there a way to apply chown only to files that have a UID of "don.users"? |
Perhaps something like: find / -user don -group users -print | xargs chgrp lab
Or from current dir: find . -user don -group users -print | xargs chgrp lab |
find . -user don -group users -print | xargs chgrp lab
produced.... xargs: unmatched single quote however... find . -user don -group users -exec chown don.lab {} \; worked! Thankyou. |
Forgot. Thanks for posting the working solution.
|
All times are GMT -5. The time now is 04:43 AM. |