Skip to Content
gnux

-R, --recursive

Operate on files and directories recursively.

An option of chgrpx.

Usage

chgrpx -R GROUP FILE...
chgrpx --recursive GROUP FILE...

Details

ShortLongValueDefaultMeaning
-R--recursivenoneoperate on files and directories recursively

Examples

Change a whole directory tree

chgrpx -R developers project/
chgrpx -R -L developers project/

Move only the files still in the old team's group

chgrpx -R --from=:oldteam newteam shared/

Report only the files that changed

chgrpx -c -R staff shared/

Help in the terminal

gnux help chgrpx --recursive

On this page