Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hkalexling/trash
A wrapper around trash-cli
https://github.com/hkalexling/trash
Last synced: 21 days ago
JSON representation
A wrapper around trash-cli
- Host: GitHub
- URL: https://github.com/hkalexling/trash
- Owner: hkalexling
- Created: 2018-12-04T09:27:54.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-04T09:37:51.000Z (almost 6 years ago)
- Last Synced: 2024-05-23T00:35:36.303Z (6 months ago)
- Language: Shell
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# trash
```bash
wget https://raw.githubusercontent.com/hkalexling/trash/master/trash.sh
chmod +x trash.sh
./trash.sh
``````
This is a simple wrapper around trash-cli: https://github.com/andreafrancia/trash-cliUsage:
trash [ACTION] [OPTIONS]... [FILE]...Actions available:
put, list, empty, restore, uninstall, helpExample usage:
trash put FILE: move file(s) to trashcan
trash FILE: shortcut for trash put FILE
trash list: list files in trashcan
trash empty: empty the trashcan
trash restore: restore file(s) from the trashcan
trash uninstall: uninstall this wrapper and use the vanilla trash-cli
trash help: show this help message again
trash ACTION --help: show individual help message for the above actions
```