Remove unnecessary lines breaks
This commit is contained in:
parent
7fae719399
commit
f41adcdec8
@ -63,9 +63,7 @@ sourceDirChildPathComponents[2]='User'
|
|||||||
sourceDirChildPathComponents[3]='SwiftBackup'
|
sourceDirChildPathComponents[3]='SwiftBackup'
|
||||||
|
|
||||||
for sourceDir in "${sourceDirChildPathComponents[@]}"; do
|
for sourceDir in "${sourceDirChildPathComponents[@]}"; do
|
||||||
rsync -a --delete -e 'ssh -o IdentitiesOnly=yes -o StrictHostKeyChecking=yes -o PasswordAuthentication=no -o ChallengeResponseAuthentication=no -o PubkeyAut
|
rsync -a --delete -e 'ssh -o IdentitiesOnly=yes -o StrictHostKeyChecking=yes -o PasswordAuthentication=no -o ChallengeResponseAuthentication=no -o PubkeyAuthentication=yes -o IdentityFile='"${sshFilesBaseDir}"'/'"${sshPrivateKeyFileName}"' -o UserKnownHostsFile='"${sshFilesBaseDir}"'/'"${sshKnownHostsFileName}" "${sourceDirBasePath}"'/'"${sourceDir%/}" "${target}"'/'
|
||||||
hentication=yes -o IdentityFile='"${sshFilesBaseDir}"'/'"${sshPrivateKeyFileName}"' -o UserKnownHostsFile='"${sshFilesBaseDir}"'/'"${sshKnownHostsFileName}" "${
|
|
||||||
sourceDirBasePath}"'/'"${sourceDir%/}" "${target}"'/'
|
|
||||||
if [[ "${?}" -eq '0' ]]; then
|
if [[ "${?}" -eq '0' ]]; then
|
||||||
printf -- '%s\n' 'Successfully copied '"'${sourceDir}'"' data'
|
printf -- '%s\n' 'Successfully copied '"'${sourceDir}'"' data'
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user