Remove unnecessary lines breaks

This commit is contained in:
hygienic-books 2022-05-29 03:33:01 +02:00
parent 7fae719399
commit f41adcdec8

View File

@ -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