dotfiles/.config/systemd/user/cleanup-homedir.service

10 lines
412 B
SYSTEMD
Raw Normal View History

[Unit]
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 {} \;
2021-10-17 07:25:24 +00:00
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
Type=oneshot