Hello Experts,
i am working on a find command that can recursive find and change the group ownership of all the files/directories from A ---> B ?
A project directory has 100s of Dirs and Files with groupid=50 (proj). We wish to change groupid of only those files/dirs to newgroupid=150(Develop). Ofcourse without affecting other dir/files.
Would following command be suffice?
Quote:
find projdir -group proj -exec chgrp -c Develop "{}" \;
|
A question, how to take care of symlinks in this case?
Thanks.
Regards.