From 6e68d085fe2b7aceb377b950e147bc82ae29fcd3 Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Thu, 16 Nov 2023 10:43:18 -0600 Subject: [PATCH] Add exif stripping service --- base/.config/systemd/user/exif-strip.service | 9 +++++++++ base/.config/systemd/user/exif-strip.timer | 10 ++++++++++ 2 files changed, 19 insertions(+) create mode 100644 base/.config/systemd/user/exif-strip.service create mode 100644 base/.config/systemd/user/exif-strip.timer diff --git a/base/.config/systemd/user/exif-strip.service b/base/.config/systemd/user/exif-strip.service new file mode 100644 index 00000000..d6d4f285 --- /dev/null +++ b/base/.config/systemd/user/exif-strip.service @@ -0,0 +1,9 @@ +# vim:ft=systemd: +[Unit] +Description=Image metadata stripping service + +[Service] +ExecStart=toolbox run -c general exiftool -recurse -overwrite_original -all= %h/Pictures/Photos + +[Install] +WantedBy=default.target diff --git a/base/.config/systemd/user/exif-strip.timer b/base/.config/systemd/user/exif-strip.timer new file mode 100644 index 00000000..a08b8694 --- /dev/null +++ b/base/.config/systemd/user/exif-strip.timer @@ -0,0 +1,10 @@ +# vim:ft=systemd: +[Unit] +Description=Image metadata stripping timer + +[Timer] +Persistent=true +OnCalendar=*:0/15 + +[Install] +WantedBy=default.target