Skip to Content
gnux

--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

ShortLongValueDefaultMeaning
--fromCURRENT_OWNER:CURRENT_GROUPchange 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

On this page