chgrp.1 - sbase - suckless unix tools
 (HTM) git clone git://git.suckless.org/sbase
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       chgrp.1 (657B)
       ---
            1 .Dd October 8, 2015
            2 .Dt CHGRP 1
            3 .Os sbase
            4 .Sh NAME
            5 .Nm chgrp
            6 .Nd change file group ownership
            7 .Sh SYNOPSIS
            8 .Nm
            9 .Op Fl h
           10 .Oo
           11 .Fl R
           12 .Op Fl H | L | P
           13 .Oc
           14 .Ar group
           15 .Ar file ...
           16 .Sh DESCRIPTION
           17 .Nm
           18 sets the group id of each
           19 .Ar file
           20 to the gid of
           21 .Ar group .
           22 .Sh OPTIONS
           23 .Bl -tag -width Ds
           24 .It Fl h
           25 Preserve
           26 .Ar file
           27 if it is a symbolic link.
           28 .It Fl R
           29 Change file group ownerships recursively.
           30 .It Fl H
           31 Dereference
           32 .Ar file
           33 if it is a symbolic link.
           34 .It Fl L
           35 Dereference all symbolic links.
           36 .It Fl P
           37 Preserve symbolic links.
           38 This is the default.
           39 .El
           40 .Sh SEE ALSO
           41 .Xr chmod 1 ,
           42 .Xr chown 1 ,
           43 .Xr chmod 2 ,
           44 .Xr chown 2 ,
           45 .Xr getgrnam 3
           46 .Sh STANDARDS
           47 POSIX.1-2013.