R
rgirardin
Guest
Hi All,
I was wonder if there was a way (without scripting) to change a set of files from one group to another only if the files belong to a certain group. My use case is I have a deep folder structure with some files owned by group A and some by group B. I want to do a chgrp on the top level folder but only have files owed by group a change to group C.
i.e. chgrp -R groupA=>groupC folder
I checked the man pages (didn't understand the bit about --reference if that is the way) and google with know luck. If I need to script I can, was just wondering if there's already some exitsting way.
TIA
I was wonder if there was a way (without scripting) to change a set of files from one group to another only if the files belong to a certain group. My use case is I have a deep folder structure with some files owned by group A and some by group B. I want to do a chgrp on the top level folder but only have files owed by group a change to group C.
i.e. chgrp -R groupA=>groupC folder
I checked the man pages (didn't understand the bit about --reference if that is the way) and google with know luck. If I need to script I can, was just wondering if there's already some exitsting way.
TIA