rsync는 모든 출력을 /dev/null로 보냅니다.

rsync는 모든 출력을 /dev/null로 보냅니다.

다음 bash 명령이 있습니다

rsync -q host:/usr/files/client.txt /home/myuser/ 2>&1>/dev/null

하지만 여전히 나에게

Unexpected local arg: /home/myuser/
If arg is a remote file/dir, prefix it with a colon (:).
rsync error: syntax or usage error (code 1) at main.c(1228) [Receiver=3.0.9]

진행하고 출력을 피하는 방법을 모르겠습니다.

다음이 작동하지 않으면 어떻게 모든 출력을 무음으로 설정할 수 있습니까?

관련 정보