Home Explore Blog CI



man-pages

90th chunk of `rsync.man`
3e5dd1a2835b62cf9928d2d36920ad2a4f1357f801474bd30000000100000e32
 option for more
              details.

       RSYNC_ICONV
              Specify a default --iconv setting using  this  environment  vari‐
              able. First supported in 3.0.0.

       RSYNC_OLD_ARGS
              Specify  a "1" if you want the --old‐args option to be enabled by
              default, a "2" (or more) if you want it to be enabled in the  re‐
              peated‐option state, or a "0" to make sure that it is disabled by
              default.  When  this  environment  variable  is set to a non‐zero
              value, it supersedes the RSYNC_PROTECT_ARGS variable.

              This variable is ignored if --old‐args, --no‐old‐args,  or  --se‐
              cluded‐args is specified on the command line.

              First supported in 3.2.4.

       RSYNC_PROTECT_ARGS
              Specify  a non‐zero numeric value if you want the --secluded‐args
              option to be enabled by default, or a zero  value  to  make  sure
              that it is disabled by default.

              This  variable is ignored if --secluded‐args, --no‐secluded‐args,
              or --old‐args is specified on the command line.

              First supported in 3.1.0.  Starting in 3.2.4,  this  variable  is
              ignored if RSYNC_OLD_ARGS is set to a non‐zero value.

       RSYNC_RSH
              This  environment  variable  allows  you  to override the default
              shell used as the transport for rsync.  Command line options  are
              permitted  after  the command name, just as in the --rsh (-e) op‐
              tion.

       RSYNC_PROXY
              This environment variable  allows  you  to  redirect  your  rsync
              client  to  use  a  web proxy when connecting to an rsync daemon.
              You should set RSYNC_PROXY to a hostname:port pair.

       RSYNC_PASSWORD
              This environment variable allows you to set the password  for  an
              rsync  daemon connection, which avoids the password prompt.  Note
              that this does not supply a password to a remote shell  transport
              such as ssh (consult its documentation for how to do that).

       USER or LOGNAME
              The  USER  or LOGNAME environment variables are used to determine
              the default username sent to an rsync daemon.  If neither is set,
              the username defaults to "nobody".  If both are set,  USER  takes
              precedence.

       RSYNC_PARTIAL_DIR
              This  environment  variable  specifies the directory to use for a
              --partial transfer without implying that partial transfers be en‐
              abled.  See the --partial‐dir option for full details.

       RSYNC_COMPRESS_LIST
              This environment variable allows you to customize the negotiation
              of the compression algorithm by specifying an alternate order  or
              a  reduced list of names.  Use the command rsync --version to see
              the available compression names.  See the --compress  option  for
              full details.

       RSYNC_CHECKSUM_LIST
              This environment variable allows you to customize the negotiation
              of  the  checksum algorithm by specifying an alternate order or a
              reduced list of names.  Use the command  rsync --version  to  see
              the  available  checksum names.  See the --checksum‐choice option
              for full details.

       RSYNC_MAX_ALLOC
              This environment variable sets an allocation maximum  as  if  you
              had used

Title: Rsync Environment Variables (Continued)
Summary
This section describes the remaining rsync environment variables. RSYNC_RSH overrides the default shell used for rsync transport. RSYNC_PROXY directs the rsync client to use a web proxy for daemon connections. RSYNC_PASSWORD sets the password for rsync daemon connections, bypassing the password prompt. USER or LOGNAME determines the default username sent to an rsync daemon. RSYNC_PARTIAL_DIR specifies the directory for --partial transfers. RSYNC_COMPRESS_LIST customizes the compression algorithm negotiation order. RSYNC_CHECKSUM_LIST customizes the checksum algorithm negotiation order. RSYNC_MAX_ALLOC sets an allocation maximum for rsync.