# trash-cli
**Wikidata**: [Q104978497](https://www.wikidata.org/wiki/Q104978497)  
**Source**: https://4ort.xyz/entity/trash-cli

## Summary
trash-cli is a software tool that provides command-line interface commands for managing the trash can on Unix-like operating systems. It allows users to move files to the trash instead of permanently deleting them, similar to the functionality found in graphical desktop environments.

## Key Facts
- Instance of: software
- Gentoo package: app-misc/trash-cli
- Debian stable package: trash-cli
- Homebrew formula name: trash-cli
- Described at URL: http://freshmeat.sourceforge.net/projects/trash-cli

## FAQs
### Q: What is trash-cli used for?
A: trash-cli provides command-line tools for managing the trash can on Unix-like systems, allowing users to move files to trash instead of permanently deleting them.

### Q: Which operating systems support trash-cli?
A: trash-cli is available on multiple platforms including Gentoo Linux (as app-misc/trash-cli), Debian stable, and macOS via Homebrew.

### Q: How can I install trash-cli?
A: trash-cli can be installed through package managers like Gentoo's emerge, Debian's apt, or Homebrew on macOS.

## Why It Matters
trash-cli fills an important gap in Unix-like operating systems by providing trash can functionality through the command line. While graphical desktop environments typically include trash management features, command-line users previously had to either permanently delete files or manually move them to a trash directory. This tool brings the safety and convenience of recoverable deletions to terminal-based workflows, reducing the risk of accidental data loss and providing a more intuitive file management experience for power users who prefer command-line interfaces.

## Notable For
- Provides command-line trash can functionality missing from most Unix shells
- Available across multiple package management systems (Gentoo, Debian, Homebrew)
- Implements FreeDesktop.org trash specification standards
- SourceForge project with dedicated project page
- Bridges the gap between GUI trash functionality and CLI workflows

## Body
### Technical Implementation
trash-cli implements the FreeDesktop.org trash specification, which defines a standard for trash can implementation across Unix-like systems. The tool creates and manages trash directories following this specification, ensuring compatibility with other desktop environments and trash-aware applications.

### Package Availability
The software is distributed through multiple package management systems:
- Gentoo Linux includes it in the app-misc category
- Debian provides it in their stable release
- macOS users can install it via Homebrew formula

### Project History
The project maintains a presence on SourceForge with a dedicated project page at http://freshmeat.sourceforge.net/projects/trash-cli, indicating its open-source nature and community support. While specific version numbers and release dates aren't provided in the source material, the multiple package manager listings suggest active maintenance and distribution.

## References

1. [Release 0.11.0. 2009](https://github.com/andreafrancia/trash-cli/releases/tag/0.11.0-release)
2. [Release 0.11.1. 2009](https://github.com/andreafrancia/trash-cli/releases/tag/0.11.1-release)
3. [Source](https://packages.debian.org/stable/trash-cli)
4. [Source](https://packages.gentoo.org/packages/app-misc/trash-cli)
5. [Source](https://formulae.brew.sh/formula/trash-cli)