cleanup-homedir: remove old screenshots

This commit is contained in:
Franzi 2021-07-15 19:02:04 +02:00
parent 507f24e7b4
commit 2b574833e0
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -4,4 +4,7 @@ Description=Clean Up Homedir
[Service]
ExecStart=/usr/bin/find /home/kunsi/Downloads/ -mtime +30 -delete
ExecStart=/usr/bin/find /home/kunsi -maxdepth 1 -type d -iname 'tmp.*' -mtime +30 -exec rm -r {} \;
ExecStart=/usr/bin/find /home/kunsi -maxdepth 1 -iname 'screenshot_*' -mtime +30 -delete
ExecStart=/usr/bin/find /home/kunsi/Pictures/ -maxdepth 1 -iname 'screenshot_*' -mtime +30 -delete
ExecStart=/usr/bin/find /home/kunsi/Downloads/ -maxdepth 1 -iname 'screenshot *' -mtime +30 -delete
Type=oneshot