-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# trashy | ||
|
||
> An alternative to `rm` and `trash-cli` written in Rust. | ||
> More information: <https://github.com/oberblastmeister/trashy>. | ||
- Move a specific file to the trash: | ||
|
||
`trash {{path/to/file}}` | ||
|
||
- Move specific files to the trash: | ||
|
||
`trash {{path/to/file1 path/to/file2 ...}}` | ||
|
||
- List items in the trash: | ||
|
||
`trash list` | ||
|
||
- Restore a specific file from the trash: | ||
|
||
`trash restore {{file}}` | ||
|
||
- Remove a specific file from the trash: | ||
|
||
`trash empty {{file}}` | ||
|
||
- Restore all files from the trash: | ||
|
||
`trash restore --all` | ||
|
||
- Remove all files from the trash: | ||
|
||
`trash empty --all` |