Free CLI Utility
Trash management,
from the terminal.
PurgeCLI is a free, scriptable command-line trash bin manager. Create and manage trash bins, move files to trash instead of deleting them permanently, inspect and restore trashed items, and empty bins on your own schedule — all from any terminal.
Free
Always
CLI
Scriptable & cron-friendly
Safe
Restore anytime
Zero
Cloud or accounts
What’s inside
Trash bins,
done right.
Trash Bin Creation
Create named trash bins anywhere on your system. Organize deleted files by project, date, or any scheme you choose.
Move to Trash
Send files and directories to a trash bin instead of permanently deleting them — so you can recover anything you regret removing.
Restore Trashed Items
List and restore any item from a trash bin back to its original location or a destination of your choice.
Inspect Bin Contents
List the contents of any trash bin with timestamps, original paths, and file sizes before deciding what to keep or delete.
Cron & Script Friendly
Automate bin emptying on a schedule. Runs headlessly in cron jobs and shell scripts with predictable exit codes.
Minimal Dependencies
Runs wherever you have a shell. No runtime requirements, no package manager installs needed.
Downloads
Get PurgeCLI.
PurgeCLI v2.5.1
Latest
The current stable release of PurgeCLI. Download the installer script and run it to set up PurgeCLI on your system.
Installation: After downloading, make the script executable and run it:
Source and release history are available on GitHub →
chmod +x purgecli-v2.5.1-installer.sh && ./purgecli-v2.5.1-installer.sh
Source and release history are available on GitHub →
Donation-based software
PurgeCLI is free.
Keep it that way.
PurgeCLI is built and maintained by CYBERACQ as free, donation-supported software. No subscriptions, no paywalls, no ads — ever. If it has saved you from an accidental permanent deletion, a small contribution helps keep development going.
View on GitHub →Donations processed by CYBERACQ via PayPal
Why donate?
- PurgeCLI has no investors, no subscriptions and no revenue — only the generosity of its users keeps it running.
- Every contribution directly funds development, testing and new features.
- Donate any amount, one time or monthly — only if you find it useful.