Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was using rsync using --progress option , So the file transfer completed and I got following output

receiving incremental file list
          9,935 100%    9.47MB/s    0:00:00 (xfr#1, to-chk=0/1)

My question is what does to-chk=0/1 means ?

I am transferring only 1 file here ,that is Makefile. transfer number (xfr#1) clearly indicates 1 file , but what does to-chk = 0/1 stands for ?

share|improve this question
Did your transfer only consist of one file? – slhck Jan 14 '13 at 7:53
yes , only 1 file – Akshay Patil Jan 14 '13 at 19:51
up vote 12 down vote accepted

to-chk or to-check gives you the number of files still to be checked, e.g. 0/1 means 0 of a total of 1 files in the queue still need to be checked.

During a normal transfer with, let's say 42 files, to-check will basically count down from 42 to 0 (to-check=38/42to-check=2/42) until rsync is done syncing.

Note that for large amounts of files, the last number in to-check may also grow since rsync doesn't queue all files at once (to-check=38/ That's because it uses a recursion algorithm:

Beginning with rsync 3.0.0, the recursive algorithm used is now an incremental scan that uses much less memory than before and begins the transfer after the scanning of the first few directories have been completed.

To disable this behavior add the --no-inc-recursive option.

Note that in newer releases of rsync (3.1.0), the label has been changed to ir-chk to indicate incremental recursive progress (ie: the default) and to-check to indicate non incremental recursive progress (ie: with the --no-inc-recursive option).

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .