forked from kunsi/dotfiles
cleanup-homedir: remove old screenshots
This commit is contained in:
parent
507f24e7b4
commit
2b574833e0
1 changed files with 3 additions and 0 deletions
|
@ -4,4 +4,7 @@ Description=Clean Up Homedir
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/find /home/kunsi/Downloads/ -mtime +30 -delete
|
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 -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
|
Type=oneshot
|
||||||
|
|
Loading…
Reference in a new issue