Terminal Trash Tool with ASCII UI
Project description
Rebin - Terminal Trash Tool
██████╗ ███████╗██████╗ ██╗███╗ ██╗
██╔══██╗██╔════╝██╔══██╗██║████╗ ██║
██████╔╝█████╗ ██████╔╝██║██╔██╗ ██║
██╔══██╗██╔══╝ ██╔══██╗██║██║╚██╗██║
██║ ██║███████╗██████╔╝██║██║ ╚████║
╚═╝ ╚═╝╚══════╝╚═════╝ ╚═╝╚═╝ ╚═══╝
Rebin is a lightweight, cross-platform terminal trash management tool written in Python. It provides a safer way to manage file deletions with a premium terminal aesthetic.
Installation
pip install rebin_cli
Features
- 🗑️ Safe Deletion: Move files and directories to a managed trash instead of immediate removal.
- 📂 Directory Support: Automatically handles folders, calculating recursive sizes and tracking internal contents.
- 🌲 Tree Visualization: View the structure of deleted folders directly within the trash list.
- 🔄 One-Command Restore: Effortlessly restore items to their original locations.
- 📊 Detailed Metadata: Track file size, type, and exact deletion timestamps.
- 🎨 Premium UI: Clean ASCII art headers and intuitive tree-style visualizations.
Usage
Rebin provides a simple set of commands to manage your trash:
Delete a file or folder
Moves the specified item to the trash.
rebin delete <path>
List trash contents
Displays all items currently in the trash with their metadata. Folder contents are shown in a nested tree view.
rebin list
Restore an item
Restores a file or folder from the trash to its original path.
rebin restore <name>
Permanently remove an item
Deletes a specific item from the trash permanently.
rebin remove <name>
Empty the trash
Permanently removes all items from the trash.
rebin empty
Technical Details
- Storage: Items are stored in
~/.trash/(automatically created). - Metadata: A
metadata.jsonfile tracks original paths and deletion details. - Compatibility: Works on Linux, macOS, and Windows.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rebin_cli-1.1.1.tar.gz.
File metadata
- Download URL: rebin_cli-1.1.1.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
375bcd9f7b2441b7dd831cfaf6208d32b51d77cf412ff17a969d4c2bc1dde3e7
|
|
| MD5 |
af82202c0e8df21d41638dfe183cfb63
|
|
| BLAKE2b-256 |
372264f9d5a2565a2b4ceb6c0d45537eb735406fbcc75cbe0646cd55b4691a59
|
File details
Details for the file rebin_cli-1.1.1-py3-none-any.whl.
File metadata
- Download URL: rebin_cli-1.1.1-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ad2d0c54d489307e67ec9b82cf58d953a0565624f642cbb5c2e69bdab651c39
|
|
| MD5 |
9b87af5c07c68e44b653446b439c401e
|
|
| BLAKE2b-256 |
a642ac5b623e2bb5bf4b5b8f1952bd12377d133bb035cf28f7cea1799cb273ca
|