-
Notifications
You must be signed in to change notification settings - Fork 0
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
3 changed files
with
25 additions
and
15 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 |
---|---|---|
@@ -1,19 +1,29 @@ | ||
# gt | ||
g(o)t(rash) or something like that | ||
|
||
small cli for xdg trash specification | ||
g(o)t(rash) is a simple, command line program to interface with the XDG Trash. Files in the trash may be listed, cleaned, or restored via an interactive table, and filtered with various flags. | ||
|
||
## commands | ||
## Interactive Mode | ||
|
||
Run with no args to start interactive mode. In interactive mode, files in the trash are displayed, and may be selected to either restore or remove permanently. | ||
|
||
## rm-like Trashing | ||
|
||
Run with no command and only filename(s) as argument(s) to skip displaying files, sending them straight to the trash, in a quick, rm-like way. | ||
|
||
## Commands | ||
|
||
Files are displayed in an interactive table, allowing them to be sorted, filtered, and selectively operated on. | ||
|
||
### trash / tr | ||
moves files to trash | ||
Find files on the filesystem based on the filter flags and any filename args. | ||
|
||
### list / ls | ||
list files in trash | ||
Find files in the trash based on the filter flags and any filename args. | ||
|
||
### restore / re | ||
restore files from trash | ||
Find files in the trash based on the filter flags and any filename args. | ||
|
||
### clean / cl | ||
clean files out of trash | ||
Find files in the trash based on the filter flags and any filename args. | ||
|
||
See gt(1) or `gt --help` for more in depth information on all command line flags. |
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
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