To change the group recursively of files and folders only if the original group is a certain value, you can use the following (replace “yournewgroup”, “youroldgroup”, and “/path/to/wherever” to your own values).

chown :yournewgroup --from=:youroldgroup -R /path/to/wherever
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments