| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Manage and delete files efficiently with an interactive TUI and scriptable CLI.
Deletor is a handy file deletion tool that combines a powerful text interface (TUI) with visual directory navigation, and classic command line mode (CLI). With it, you can quickly find and delete files by filters, send them to the trash or completely erase them, as well as clear the cache, both interactively and through scripts.
Опенсорсеры - это сообщество разработчиков, здесь любой может поделится своими проектами, получить конструктивный разбор проекта, найти первых контрибьюторов и просто лампово общаться об айти и не только.
Присоеденяйся к нам: t.me/OpenSource_Chat
deletor is featured as "Tool of The Week" (June 10, 2025) on Terminal Trove
go install github.com/pashkov256/deletor@latestdeletordeletor -cli -d ~/Downloads -e mp4,zip --min-size 10mb -subdirs --exclude data,backupgo run . -cli -d ~/Downloads -e mp4,zip --min-size 10mb -subdirs --exclude data,backup| Flags | Description |
|---|---|
| -e | Comma-separated list of extensions (e.g., mp4,zip,jpg). |
| -d | Path to the file search directory. |
| --min-size | Minimum file size to delete (e.g., 10kb, 1mb, 1gb). |
| --max-size | Maximum file size to delete (e.g., 10kb, 1mb, 1gb). |
| --older | Modification time older than (e.g., 1sec, 2min, 3hour, 4day). |
| --newer | Modification time newer than (e.g., 1sec, 2min, 3hour, 4day). |
| --exclude | Exclude specific files/paths (e.g., data, backup). |
| -subdirs | Include subdirectories in scan. Default is false. |
| -prune-empty | Delete empty folders after scan. |
| -rules | Running with values from the rules |
| -progress | Display a progress bar during file scanning. |
| -skip-confirm | Skip the confirmation of deletion. |
TUI mode provides a user-friendly way to navigate and manage files visually, ideal for manual cleanups and exploration.
CLI mode is perfect for automation, scripting, and quick one-liners. It's essential for server environments, cron jobs, and integrating into larger toolchains.
We welcome and appreciate any contributions to Deletor! There are many ways you can help us grow and improve:
Before contributing, please take a moment to read our CONTRIBUTING.md guide. It explains how to set up the project, coding standards, and the process for submitting contributions.
Together, we can make Deletor even better! 🚀
https://code2tutorial.com/tutorial/3aac813f-99c2-453f-819f-c80e4322e068/index.md
This project is distributed under the MIT license.
| Back | FazBrowse Home | New Git URL |