Commit 9031ec87 authored by clewsy's avatar clewsy

Formatting.

parent b69bb014
......@@ -52,20 +52,13 @@ Options: -q Quiet mode - suppress most output.
VERBOSITY="" ## Define the default verbosity (i.e. none). Can be changed with option -v.
DEST="/dev/null" ## Default destination for output. Change to /dev/stdout with option -v.
######### Define options to be used by ssh.
## Options are: "-4" : IPV4
## "-6" : IPV6
## "-o StrictHostKeyChecking=no" : Disable user verification for connecting to unknown (not yet authenticated) host.
## "-o UserKnownHostsFile=/dev/null" : Disable automatically saving "newly discovered" hosts to the default knownhosts file.
## "-o BatchMode=yes" : Disable password prompts and host key confirmation requests.
## "-o ConnectTimeout=#" : Stop attempting the connection after # seconds.
#SSH_OPTIONS="-4 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o BatchMode=yes -o ConnectTimeout=4"
######### Define array of options to be used by ssh.
SSH_OPTIONS=(
-4
"-o StrictHostKeyChecking=no"
"-o UserKnownHostsFile=/dev/null"
"-o BatchMode=yes"
"-o ConnectTimeout=4"
-4 ## Use IPV4 (alternatively, -6 for IPV6).
"-o StrictHostKeyChecking=no" ## Disable user verification for connecting to unknown (not yet authenticated) host.
"-o UserKnownHostsFile=/dev/null" ## Disable automatically saving "newly discovered" hosts to the default knownhosts file.
"-o BatchMode=yes" ## Disable password prompts and host key confirmation requests.
"-o ConnectTimeout=4" ## Stop attempting the connection after specified number of seconds.
)
##########Interpret options
......
......@@ -62,21 +62,21 @@ DEST="/dev/null" ## Default destination for command output. I.e. don't display
######### Define array of options to be used by ssh.
SSH_OPTIONS=(
-4 ## Use IPV4 (alternatively, -6 for IPV6).
"-o StrictHostKeyChecking=no" ## Disable user verification for connecting to unknown (not yet authenticated) host.
"-o UserKnownHostsFile=/dev/null" ## Disable automatically saving "newly discovered" hosts to the default knownhosts file.
"-o BatchMode=yes" ## Disable password prompts and host key confirmation requests.
"-o ConnectTimeout=4" ## Stop attempting the connection after specified number of seconds.
-4 ## Use IPV4 (alternatively, -6 for IPV6).
"-o StrictHostKeyChecking=no" ## Disable user verification for connecting to unknown (not yet authenticated) host.
"-o UserKnownHostsFile=/dev/null" ## Disable automatically saving "newly discovered" hosts to the default knownhosts file.
"-o BatchMode=yes" ## Disable password prompts and host key confirmation requests.
"-o ConnectTimeout=4" ## Stop attempting the connection after specified number of seconds.
)
######### Define array of options to be used by rsync.
RSYNC_OPTIONS=(
-4 ## Use IPV4 (alternatively, -6 for IPV6).
--archive ## Archive mode, equivalent to -rlptgoD (no -H, -A, -X)
--relative
--verbose
--human-readable
--progress
-4 ## Use IPV4 (alternatively, -6 for IPV6).
--archive ## Archive mode, equivalent to -rlptgoD (no -H, -A, -X)
--relative
--verbose
--human-readable
--progress
)
## Note using --archive is equivalent to:
## -r --recursive
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment