gt/README.md

30 lines
1.1 KiB
Markdown
Raw Normal View History

2024-06-20 00:37:02 -04:00
# gt
2024-07-30 23:06:52 -04:00
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.
2024-06-20 00:37:02 -04:00
2024-07-30 23:06:52 -04:00
## 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.
2024-06-20 00:37:02 -04:00
### trash / tr
2024-07-30 23:06:52 -04:00
Find files on the filesystem based on the filter flags and any filename args.
2024-06-20 00:37:02 -04:00
### list / ls
2024-07-30 23:06:52 -04:00
Find files in the trash based on the filter flags and any filename args.
2024-06-20 00:37:02 -04:00
### restore / re
2024-07-30 23:06:52 -04:00
Find files in the trash based on the filter flags and any filename args.
2024-06-20 00:37:02 -04:00
### clean / cl
2024-07-30 23:06:52 -04:00
Find files in the trash based on the filter flags and any filename args.
2024-06-20 00:37:02 -04:00
2024-07-30 23:06:52 -04:00
See gt(1) or `gt --help` for more in depth information on all command line flags.