Ok, the problem happens only with sshdroid (android ssh server application). With other pc clients everything ok :)

well, is it a bug of rsync or of sshdroid?

thanks

Max

On 09/14/2017 09:38 PM, Paul Slootman wrote:
On Thu 14 Sep 2017, Max wrote:

sshpass -p $PASS rsync --timeout=30 --bwlimit=$SPEED --log-file=$LOGFILE
--stats --delete --size-only -vrz "/data" -e ssh root@$IP:data/ 2>
/tmp/rsync-error >> $EXTLOG

cat $EXTLOG

Number of files: 1 (dir: 1)
Number of created files: 0
Number of regular files transferred: 0
Total file size: 0 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 35
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 74
Total bytes received: 53

sent 74 bytes  received 53 bytes  254.00 bytes/sec
total size is 0  speedup is 0.00

Thanks.

Unfortunately I still cannot reproduce this:

$ mkdir /tmp/data
$ sshpass -p $PASS rsync --timeout=30 --bwlimit=10 --log-file=/tmp/rsync-log --stats 
--delete --size-only -vrz /tmp/data -e ssh root@localhost:data/ 2> /tmp/rsync-error 
>> /tmp/rsync-stdout
$ cat /tmp/rsync-stdout
sending incremental file list
created directory data
data/

Number of files: 1 (dir: 1)
Number of created files: 1 (dir: 1)
Number of deleted files: 0
Number of regular files transferred: 0
Total file size: 0 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 0
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 55
Total bytes received: 54

sent 55 bytes  received 54 bytes  72.67 bytes/sec
total size is 0  speedup is 0.00


Rerunning the command (to match your output of the directory already
being created) gives:

Number of files: 1 (dir: 1)
Number of created files: 0
Number of deleted files: 0
Number of regular files transferred: 0
Total file size: 0 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 0
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 52
Total bytes received: 28

sent 52 bytes  received 28 bytes  160.00 bytes/sec
total size is 0  speedup is 0.00



Does the stderr or the log-file contain anything relevant?


Paul



--
Max

Reply via email to