CmdID

CmdID / Commands

chgrp

Change group of one or more files. toybox

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Linux

from the toybox, 0BSD
chgrp/chown [-RHLP] [-fvh] GROUP FILE...
-fSuppress most error messages
-hChange symlinks instead of what they point to
-RRecurse into subdirectories (implies -h)
-HWith -R change target of symlink, follow command line symlinks
-LWith -R change target of symlink, follow all symlinks
-PWith -R change symlink, do not follow symlinks (default)
-vVerbose

Several platforms

from tldr-pages, CC BY 4.0

Change group ownership of files and directories.

Change the owner group of a file/directory

chgrp group path/to/file_or_directoryIdentify

Recursively change the owner group of a directory and its contents

chgrp --recursive group path/to/directoryIdentify

Change the owner group of a symbolic link

chgrp --no-dereference group path/to/symlinkIdentify

Change the owner group of a file/directory to match a reference file

chgrp --reference path/to/reference_file path/to/file_or_directoryIdentify