2 releases
0.1.1 | Dec 28, 2022 |
---|---|
0.1.0 | Dec 27, 2022 |
#1342 in Filesystem
6KB
111 lines
Frisk
Frisk is an efficient command-line tool to search for file(s) / folder(s) in your file system
Installation
Frisk is published on crates.io. First, install the package manager cargo and then install frisk as a binary crate
cargo install frisk
Usage
$ frisk abc.txt
No path specified! So, starting search from /
/tmp/abc.txt
1731660 items have been searched in 0 seconds to spot 1 item(s)
$ touch /tmp/def.txt
$ frisk def.txt --dir_path /tmp/
/tmp/def.txt
26 items have been searched in 0 seconds to spot 1 item(s)
$ frisk --help
Spot file(s) or folder(s) in your filesystem by its name
Usage: frisk [OPTIONS] <file_name>
Arguments:
<file_name> Name or regex pattern of file(s) or folder(s)
Options:
--dir_path <dir_path> Path to dir from where search should begin
--follow_links Whether to follow symbolic links or NOT in the search
--skip_hidden Whether to include hidden files or NOT in the search
-h, --help Print help information
-V, --version Print version information
License
Dependencies
~4–15MB
~138K SLoC