A cross-platform command-line tool to empty the system trash/recycle bin.
empty-trash-cli is a command-line utility that empties the system trash or recycle bin on macOS, Linux, and Windows. It solves the problem of manually clearing deleted files by providing a quick, terminal-based method, streamlining cleanup tasks for users who operate in command-line environments.
Developers, system administrators, and power users who frequently use the terminal and prefer command-line tools for system management tasks.
It offers a reliable, cross-platform solution with no dependencies beyond Node.js, integrating well with other trash-related CLI tools and scripts for automated workflows.
Empty the trash
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Works on macOS, Linux, and Windows as stated in the README, providing a unified command-line interface across different operating systems.
Offers a simple, no-options command ('empty-trash') that does one thing well, aligning with the project's single-purpose philosophy.
Part of a related toolset including an API module and trash-moving CLI, enabling cohesive trash management workflows for developers.
Requires Node.js and npm for installation, adding an external dependency that may not be ideal for systems without JavaScript toolchains.
Empties the trash immediately without prompts or dry-run options, increasing the risk of accidental data loss with no undo feature.
Only empties trash and lacks advanced functionality like trash size reporting, item listing, or selective deletion, as admitted by its minimalist design.