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

7 lines
226 B
Desktop File

[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 {} \;
Type=oneshot