Hi everyone! Im new to this list and i searched the archive for any dupes of this subject but didnt find any. I have a small problem, i want to use rsync to keep all of our systems up 2 date but recently we had some servers that only did a half update. We want to be able to see a progress indicator of the transfer. The best thing was if there was any way to get it in percentage or only a list of how many files its going to transfer before the actual transfer starts. We can do this by doing a --dry-run but i dont want read the file list two times i want to do this as fast as possible. Is there some way to get any parsable information before the actual transfer stats? Best regards David Jacoby -- Outpost24 AB David Jacoby Research & Development Office: +46-455-612310 Mobile: +46-455-612311 (www.outpost24.com) (dj@outpost24.com)
On Fri, Nov 26, 2004 at 12:43:40PM +0100, David Jacoby wrote:> The best thing was if there was any way to get it in percentage or > only a list of how many files its going to transfer before the actual > transfer starts.Rsync does not determine how many files are going to be transferred prior to the transfer, as that would involve an extra pre-transfer directory scan. Rsync just knows how many files the sender specified, and what position it is in this list. That information is output via --progress, but it is in a human-oriented format. ..wayne..