--from
Change the group of each file only if its current owner and/or group match those specified here; either may be omitted (CURRENT_OWNER:CURRENT_GROUP).
An option of chgrpx.
Usage
chgrpx --from=CURRENT_OWNER:CURRENT_GROUP GROUP FILE...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
--from | CURRENT_OWNER:CURRENT_GROUP | change the group of each file only if its current owner and/or group match those specified here; either may be omitted (CURRENT_OWNER:CURRENT_GROUP) |
Examples
Move only the files still in the old team's group
chgrpx -R --from=:oldteam newteam shared/Help in the terminal
gnux help chgrpx --from