#disk #scanning #findex #path #com

app findex

A file scanning tool for Linux system disks

3 releases

Uses new Rust 2024

new 0.1.2 Apr 17, 2025
0.1.1 Apr 13, 2025
0.1.0 Apr 10, 2025

#449 in Command line utilities

Download history 221/week @ 2025-04-09

221 downloads per month

MIT license

49KB
445 lines

A file scanning tool for Linux system disks

usage

fdx -- A file scanning tool for Linux system disks

Version: 0.1.1
Authors: sharkLoc <mmtinfo@163.com>
Source code: https://github.com/sharkLoc/findex.git

Usage:   fdx [OPTIONS] [path]

Arguments:
  [path]  The root directory path to be searched, default "."

Options:
  -a, --all                   If specified, show all iterm in output, including file type, size, created time, file name and path
  -d, --deepth <Number>       Set the maximum depth [default: 18446744073709551615]
  -t, --type                  If specified, show file type in output
  -s, --size                  If specified, show file size in output
  -b, --byte <String>         Show file size in human-readable format, use with -s, k(Kb)/m(Mb)/g(Gb), default show b(bytes) [default: b]
  -c, --ctime                 If specified, show file created time in output
  -i, --hidden                If specified, show hidden files in output
  -p, --full-path             If specified, show full path in output
  -n, --name                  If specified, show file name in output
  -D, --depth-first           If specified, perform depth-first search
  -l, --link                  If specified, show sub-item in symbolink dir
  -e, --ext <String>          Filter by file extension, eg. gz, csv, txt, the file extension should not contain a dot
  -H, --no-header             If specified, no header in output
  -T, --filter-type <String>  Filter by type, file:f, directory:d, symlink:l. 
                              eg. only file in output: -T f, only directory in output: -T d
  -o, --out <File>            Output file name or write to stdout
  -h, --help                  Prints help information
  -V, --version               Prints version information

example:

img

TODO

  • ansi style in tty output
  • add logger

Dependencies

~3–11MB
~117K SLoC