rsync icon indicating copy to clipboard operation
rsync copied to clipboard

rsync error: syntax or usage error (code 1) at main.c(1844) [server=3.2.7]

Open Swimer-MC opened this issue 8 months ago • 1 comments

PS C:\Users\user\IdeaProjects\TonCraftGit> C:\rsync\bin\rsync.exe -chsh -e "ssh -p 22" --exclude=.svn --exclude=.cvs --exclude=.idea --exclude=.DS_Store --exclude=.git --exclude=.hg --exclude=*.hprof --exclude=*.pyc backend.jar user@ip:/var/backend/backend.jar
user@ip's password: [entered ip]
rsync: argc is zero!
rsync error: syntax or usage error (code 1) at main.c(1844) [server=3.2.7]
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(232) [sender=3.4.1]

this error occurs on all machines, although it worked once. what happened?

Swimer-MC avatar Jul 13 '25 18:07 Swimer-MC

What is your rsync version? Where do you install/build from?

sudhackar avatar Jul 24 '25 06:07 sudhackar