Back to browse
GitHub Repository

Prune Dropbox backups safely (age-based retention + minimum keep).

2 starsShell

Dropbox Cleaner – prune old Dropbox backups with Bash

by e-gockel·Mar 7, 2026·1 point·0 comments

AI Analysis

●●SolidSolve My ProblemNiche Gem

Dual-threshold Dropbox retention (age + count) in pure Bash with dry-run safety, solves real pain.

Strengths
  • No Dropbox API dependency; delegates to Dropbox-Uploader, keeping it lightweight and portable.
  • Safety logic is bulletproof: guarantees minimum retention even if jobs fail, hard floor on deletions.
  • Cron-friendly with dry-run mode and clear logging; explicitly designed for multi-client deployment.
Weaknesses
  • Filename-date parsing is rigid (YYYY.MM.DD format only); doesn't tap Dropbox metadata.
  • Requires external Dropbox-Uploader setup; integration burden for new users.
Target Audience

DevOps engineers with cron-based Dropbox backup pipelines, database admins managing retention at scale

Similar To

restic · Duplicacy · Veeam Backup & Replication

Post Description

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.

Similar Projects

Open Source●●Solid

Reducing Onyx Boox notes bloat by pruning redundant pen data

It parses the proprietary .note format client-side with Rust→WASM, strips overlapping stroke points that don't change the drawing, and spits out a noticeably smaller file so your Boox stops choking on complex sketches. Throw in an in-browser renderer/debugger and the ability to run the page directly on the device, and you get a focused, technically neat fix for a real hardware pain.

Niche GemWizardrySolve My Problem
nrontsis
104mo ago