RSYNC returned with error code #2

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
peter_b
Chatterbox
Posts: 383
Joined: Tue Nov 12, 2013 2:05 am

RSYNC returned with error code #2

Post by peter_b »

[PROBLEM]
Tried to copy and rename a bunch of files using rsync (as usual ;)). One file threw an uncomfortable error:
ERROR: RSYNC returned with error code #2
According to rsync's man-page, this means:
EXIT VALUES
2 Protocol incompatibility
Hm... :?

[SOLUTION]
The file had a classic "Someone used MS Word" quote-characters in it:

Code: Select all

„ “
I've replaced the illegal characters with a normal double-quote (") - and everything was fine.

:D
Post Reply