cant redirect rsync error to stdout

Hi everyone the following works fine rsync -r -e “ssh -i /key/file.ssh/” [email protected]:/remote/place /local/place/ but the following rsync -r -e “ssh -i /key/file.ssh/” [email protected]:/remote/place /local/place/ 2>&1 /some/local/place/log.txt produces Unexpected local arg: /rds/PRJ-InsulinAnalogs/gadi_backup/ If arg is a remote file/dir, prefix it with a colon (:). rsync error: syntax or usage error (code 1) at main.c(1215) [receiver=3.0.6]

Details