filist
Displays a list of files.
Usage
$ filist -s -M .
a.txt 24 3d3a42d900823afcfdfeb6de338bcec1
b/1.txt 81 ae23e0b40e773ac132f477f661e89b86
b/2.txt 163 494ba81d0d828ff9a244da627b5ece47
The arguments are as follows.
Usage: filist [flags] directory ...
Flags
-r, --rel Print relative path (If neither 'rel' nor 'abs' is specified, 'rel' will be printed first column.)
-a, --abs Print absolute path
-s, --size Print file size
-m, --mtime Print modification time
-M, --md5 Print MD5 hash
-S, --sha1 Print SHA-1 hash
--sha256 Print SHA-256 hash
--include-dir Include directories
--exclude-file Exclude files
-l, --level int Number of directory level (Default is unlimited)
-h, --help Help
Prints in the order the options are specified.
$ filist -M -r .
3d3a42d900823afcfdfeb6de338bcec1 a.txt
ae23e0b40e773ac132f477f661e89b86 b/1.txt
494ba81d0d828ff9a244da627b5ece47 b/2.txt
If --include-dir
is specified, the directory is also printed.
$ filist --include-dir .
a.txt
b/
b/1.txt
b/2.txt
If --include-dir
and --exclude-file
are specified, only directories are printed.
$ filist --include-dir --exclude-file .
b/
If -l
is specified, you can specify the number of levels to be displayed.
$ filist -l 1 --include-dir .
a.txt
b/
Install
You can download the binary from the following.
License
MIT
Author
onozaty