Displaying the size of each file transferred

2 posts / 0 new
Last post
itefix
Offline
Last seen: 2 hours 2 min ago
Joined: 01.05.2008 - 21:33
Displaying the size of each file transferred

Hi,
I have been experimenting with different logging options to try and capture the size of each individual file being transferred, without having to capture additional unwanted info.

You can use the -vvv option, but the logging is extensive, and you end up getting a lot of other info as well.

The --progress option works fairly well, except that when you write the log to a file, you will get multiple entries for each file as the --progress continually updates during the processing of a file.

The -vv option has all the info on the individual files transferred, but does not include the file size.

Is there a way that I can either:

1. Add the size of the file being transferred to the -vv option

OR

2. Modify the --progress option to output 1 line per file?

Or are there other reporting options that I could try?

I have also tried using the --log-format switch but it didn't work very well (actually I am not sure whether I used it correctly as the documentation is fairly scarce).

Cheers,
Vaughan

itefix
Offline
Last seen: 2 hours 2 min ago
Joined: 01.05.2008 - 21:33
Re: Displaying the size of each file transferred

Hi,
It requires changes in rsync source code. I use standard rsync distributed by rsync.samba.org. You can send a feature request to rsync users mailing list.

Rgrds Tev

Topic locked

Release announcements