From fdb57884ed120b52ba56d9728d878800240f0a9c Mon Sep 17 00:00:00 2001 From: I-Al-Istannen Date: Sun, 31 May 2020 20:27:15 +0200 Subject: [PATCH] Touch files with same content to update timestamps --- PFERD/organizer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PFERD/organizer.py b/PFERD/organizer.py index ca4b79c..d6f9790 100644 --- a/PFERD/organizer.py +++ b/PFERD/organizer.py @@ -65,6 +65,8 @@ class Organizer(Location): # Bail out, nothing more to do PRETTY.ignored_file(dst_absolute, "same file contents") self.mark(dst) + # Touch it to update the timestamp + dst_absolute.touch() return PRETTY.modified_file(dst_absolute)