From cd0d5259b733c90639545d628658bd7c2f613d54 Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Mon, 28 Dec 2015 19:29:09 +0100 Subject: Add --info=progress2 to rsync arguments This outputs some information about speed. Fixes #26 --- SBO-Lib/lib/SBO/Lib.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SBO-Lib/lib') diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm index 2cb0b4d..0f07fd1 100644 --- a/SBO-Lib/lib/SBO/Lib.pm +++ b/SBO-Lib/lib/SBO/Lib.pm @@ -286,7 +286,7 @@ sub rsync_sbo_tree { exists $_[0] or script_error('rsync_sbo_tree requires an argument.'); my $url = shift; $url .= '/' unless $url =~ m!/$!; # make sure $url ends with / - my @args = ('rsync', '-a', '--exclude=*.tar.gz', '--exclude=*.tar.gz.asc', '--delete', $url); + my @args = ('rsync', '--info=progress2', '-a', '--exclude=*.tar.gz', '--exclude=*.tar.gz.asc', '--delete', $url); return system(@args, $repo_path) == 0; } -- cgit v1.2.3