diff --git a/bundles/scansnap/metadata.py b/bundles/scansnap/metadata.py index 774fc34..bdbd71f 100644 --- a/bundles/scansnap/metadata.py +++ b/bundles/scansnap/metadata.py @@ -15,6 +15,6 @@ defaults = { }, 'cron': { # Automatically remove files which are older than 14 days - 'scansnap_cleanup': '00 00 * * * root /usr/bin/find /srv/scansnap/ -mtime +14 -delete', + 'scansnap_cleanup': '00 00 * * * root /usr/bin/find /srv/scansnap/ -mindepth 1 -mtime +14 -delete', }, }