O que todos esses dados extras do rsync significam?

5

Quando eu movo diretórios com rsync , recebo alguns dados extras à direita da barra de progresso logo após cada arquivo ter sido copiado:

$ rsync -aP assembly /media/andreas/backup
sending incremental file list
assembly/
assembly/1. East Rutherford - English - Friday AM.mp4
  4,227,174,902 100%   25.38MB/s    0:02:38 (xfr#1, to-chk=6/8)
assembly/2. East Rutherford - English - Friday PM.mp4
  5,196,565,076 100%   25.04MB/s    0:03:17 (xfr#2, to-chk=5/8)
assembly/3. East Rutherford - English - Saturday AM.mp4
    596,565,076  10%   24.70MB/s    0:02:57 

O que significam essas xfr e to-chk partes?

    
por IQAndreas 03.11.2014 / 16:52

1 resposta

6

Isso, como a maioria das coisas, é explicado em rsync 's página de manual extremamente abrangente:

When the file transfer finishes, rsync replaces the progress line with a summary line that looks like this:

 1,238,099 100%  146.38kB/s    0:00:08  (xfr#5, to-chk=169/396)

In this example, the file was 1,238,099 bytes long in total, the average rate of transfer for the whole file was 146.38 kilobytes per second over the 8 seconds that it took to complete, it was the 5th transfer of a regular file during the current rsync session, and there are 169 more files for the receiver to check (to see if they are up-to-date or not) remaining out of the 396 total files in the file-list.

Portanto, no seu exemplo, assembly/2. East Rutherford - English - Friday PM.mp4 foi o segundo arquivo a ser transferido e outros 5 de um total de 8 arquivos precisarão ser verificados.

    
por 03.11.2014 / 16:58

Tags