diff --git a/home/.termux/tasker/android-copy-backups.sh b/home/.termux/tasker/android-copy-backups.sh index 2a2b757..e3dd1dd 100644 --- a/home/.termux/tasker/android-copy-backups.sh +++ b/home/.termux/tasker/android-copy-backups.sh @@ -63,9 +63,7 @@ sourceDirChildPathComponents[2]='User' sourceDirChildPathComponents[3]='SwiftBackup' for sourceDir in "${sourceDirChildPathComponents[@]}"; do - rsync -a --delete -e 'ssh -o IdentitiesOnly=yes -o StrictHostKeyChecking=yes -o PasswordAuthentication=no -o ChallengeResponseAuthentication=no -o PubkeyAut -hentication=yes -o IdentityFile='"${sshFilesBaseDir}"'/'"${sshPrivateKeyFileName}"' -o UserKnownHostsFile='"${sshFilesBaseDir}"'/'"${sshKnownHostsFileName}" "${ -sourceDirBasePath}"'/'"${sourceDir%/}" "${target}"'/' + 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}"'/' if [[ "${?}" -eq '0' ]]; then printf -- '%s\n' 'Successfully copied '"'${sourceDir}'"' data' fi