From e582eaa69c5f2d79c9b43424a5b94eb7826f37fb Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 13 Nov 2026 14:01:42 +0000 Subject: populate: omit the times of directories and symlinks rsync sets the modification time of each directory whose contents change, and logs a line for it. Nothing relies on these times, nor on the times of symlinks, so --omit-dir-times and --omit-link-times leave them alone, and the log lists only what got transferred or deleted. --- pkgs/populate/default.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkgs') diff --git a/pkgs/populate/default.nix b/pkgs/populate/default.nix index 1787b65..05fb581 100644 --- a/pkgs/populate/default.nix +++ b/pkgs/populate/default.nix @@ -1398,6 +1398,10 @@ let --itemize-changes \ --out-format=${quote "%i %n%L %'''b/%'''l"} \ --info=backup,del,copy,misc,mount,name,nonreg,remove,skip,symsafe \ + `# Nothing relies on the times of directories and symlinks, and` \ + `# keeping them would log a line for each directory changed.` \ + --omit-dir-times \ + --omit-link-times \ ${rsyncFilterArgs config} \ -rlptD \ ${optionalString config.deleteExcluded /* sh */ "--delete-excluded"} \ -- cgit v1.3.1