aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/populate/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/populate/default.nix b/pkgs/populate/default.nix
index f3cf925..992ac90 100644
--- a/pkgs/populate/default.nix
+++ b/pkgs/populate/default.nix
@@ -753,6 +753,8 @@ let
if test -d "$source_path"; then
source_path=$source_path/
fi
+ # Each item gets logged with what changed about it, and its size, as
+ # transferred and in total.
${rsync}/bin/rsync \
${optionalString config.useChecksum /* sh */ "--checksum"} \
${optionalString target.sudo /* sh */ "--rsync-path=\"sudo rsync\""} \
@@ -763,6 +765,8 @@ let
(filter: /* sh */ "--${filter.type} ${quote filter.pattern}")
config.filters} \
-e ${quote (ssh' target)} \
+ --itemize-changes \
+ --out-format=${quote "%i %n%L %'''b/%'''l"} \
--info=backup,del,copy,misc,mount,name,nonreg,remove,skip,symsafe \
${optionalString (config.filterFiles or true) "-F"} \
-rlptD \