update readme to be more inline with manpage
This commit is contained in:
parent
a6a62f74d1
commit
cf82990925
89
README.md
89
README.md
|
@ -15,15 +15,102 @@ Run with no command and only filename(s) as argument(s) to skip displaying files
|
||||||
Files are displayed in an interactive table, allowing them to be sorted, filtered, and selectively operated on.
|
Files are displayed in an interactive table, allowing them to be sorted, filtered, and selectively operated on.
|
||||||
|
|
||||||
### trash / tr
|
### trash / tr
|
||||||
|
|
||||||
Find files on the filesystem based on the filter flags and any filename args.
|
Find files on the filesystem based on the filter flags and any filename args.
|
||||||
|
|
||||||
|
#### flags
|
||||||
|
|
||||||
|
*--recursive*, *-r*
|
||||||
|
operate on files recursively
|
||||||
|
|
||||||
|
*--work-dir* dir, *-w* dir
|
||||||
|
operate on files in this directory
|
||||||
|
|
||||||
|
*--hidden*, *-h*
|
||||||
|
operate on hidden files
|
||||||
|
|
||||||
### list / ls
|
### list / ls
|
||||||
|
|
||||||
Find files in the trash based on the filter flags and any filename args.
|
Find files in the trash based on the filter flags and any filename args.
|
||||||
|
|
||||||
|
#### flags
|
||||||
|
|
||||||
|
*--non-interactive*, *-n*
|
||||||
|
list files and quit
|
||||||
|
|
||||||
|
*--original-path* dir, *-O* dir
|
||||||
|
list files trashed from this directory
|
||||||
|
|
||||||
### restore / re
|
### restore / re
|
||||||
|
|
||||||
Find files in the trash based on the filter flags and any filename args.
|
Find files in the trash based on the filter flags and any filename args.
|
||||||
|
|
||||||
|
#### flags
|
||||||
|
|
||||||
|
*--all*, *-a*
|
||||||
|
operate on all files in trash
|
||||||
|
|
||||||
|
*--original-path* dir, *-O* dir
|
||||||
|
restore files trashed from this directory
|
||||||
|
|
||||||
### clean / cl
|
### clean / cl
|
||||||
|
|
||||||
Find files in the trash based on the filter flags and any filename args.
|
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.
|
#### flags
|
||||||
|
|
||||||
|
*--all*, *-a*
|
||||||
|
operate on all files in trash
|
||||||
|
|
||||||
|
*--original-path* dir, *-O* dir
|
||||||
|
remove files trashed from this directory
|
||||||
|
|
||||||
|
## Flags
|
||||||
|
|
||||||
|
### Global flags
|
||||||
|
|
||||||
|
*--confirm*, *-c*
|
||||||
|
ask for confirmation before executing any action
|
||||||
|
|
||||||
|
*--log* level, *-l* level
|
||||||
|
set log level
|
||||||
|
|
||||||
|
### Filter flags (usable with all commands)
|
||||||
|
|
||||||
|
*--match* pattern, *-m* pattern
|
||||||
|
operate on files matching regex pattern
|
||||||
|
|
||||||
|
*--glob* pattern, *-m* pattern
|
||||||
|
operate on files matching glob
|
||||||
|
|
||||||
|
*--not-match* pattern, *-M* pattern
|
||||||
|
operate on files not matching regex pattern
|
||||||
|
|
||||||
|
*--not-glob* pattern, *-G* pattern
|
||||||
|
operate on files not matching glob
|
||||||
|
|
||||||
|
*--on* date, *-O* date
|
||||||
|
operate on files modified on date
|
||||||
|
|
||||||
|
*--before* date, *-B* date
|
||||||
|
operate on files modified before date
|
||||||
|
|
||||||
|
*--after* date, *-A* date
|
||||||
|
operate on files modified after date
|
||||||
|
|
||||||
|
*--files-only*, *-F*
|
||||||
|
operate on files only
|
||||||
|
|
||||||
|
*--dirs-only*, *-D*
|
||||||
|
operate on directories only
|
||||||
|
|
||||||
|
*--min-size* size, *-N* size
|
||||||
|
operate on files larger than size
|
||||||
|
|
||||||
|
*--max-size* size, *-X* size
|
||||||
|
operate on files smaller than size
|
||||||
|
|
||||||
|
*--mode* mode, *-x* mode
|
||||||
|
operate on files matching mode mode
|
||||||
|
|
||||||
|
See also gt(1) or `gt --help`.
|
||||||
|
|
2
gt.1.scd
2
gt.1.scd
|
@ -51,7 +51,7 @@ _flags_:
|
||||||
operate on files recursively
|
operate on files recursively
|
||||||
|
|
||||||
*--work-dir* dir, *-w* dir
|
*--work-dir* dir, *-w* dir
|
||||||
operate on files in this `DIRECTORY`
|
operate on files in this directory
|
||||||
|
|
||||||
*--hidden*, *-h*
|
*--hidden*, *-h*
|
||||||
operate on hidden files
|
operate on hidden files
|
||||||
|
|
Loading…
Reference in a new issue