Built this for cron-based backup setups where DB dumps get pushed to Dropbox and pile up over time. It prunes backups only if they’re older than a configured threshold and not among the newest N files, so a minimum recent set is always retained. Bash only, no Dropbox API.