9 releases
| 0.2.7 | Jun 26, 2025 |
|---|---|
| 0.2.4 | Jan 7, 2024 |
| 0.2.0 | Jul 23, 2023 |
| 0.1.4 | Jan 1, 2023 |
| 0.0.5 | Mar 31, 2022 |
#231 in Command line utilities
428 downloads per month
38KB
729 lines
findsource
Simple configurable tool for searching source files by extensions easily!
Help
Usage: fs [-d,--debug] [-?,--help] [-v,--verbose] [-l,--load CFG|PATH] [-w,--whole] [-W,--Whole] [-e,--extension] [-E,--Extension]
[-X,--Exclude] [-i,--ignore-case] [-o,--only] [-/r,--/reverse] [-a,--hidden] [-f,--full] [-inv,--invert] [ARGS]
Simple configurable tool for searching source files by extensions easily!
OPTION:
-d,--debug Print debug message
-?,--help Print help message
-v,--verbose Print more debug message
-l,--load CFG|PATH Load option setting from configuration
name or file
-w,--whole Extension category: match whole filename
-W,--Whole Exclude given whole filename
-e,--extension Extension category: match file extension
-E,--Extension Exclude given file extension
-X,--Exclude Exclude given file category
-i,--ignore-case Enable ignore case mode
-o,--only Only search given file category
-/r,--/reverse Disable reverse mode
-a,--hidden Search hidden file
-f,--full Display absolute path of matched file
-inv,--invert Invert the entrie logical to exclude the
given extension
ARGS:
[PATH]+ Path need to be search
Create by araraloren <blackcatoverwall@gmail.com> v0.2.0
fs will search for the configuration file in executable binary directory, working directory,
current directory and two custome directories.
The first is executable binary directory/FS_BUILD_CONFIG_DIR which can be set at compile time,
then FS_CONFIG_DIR which can be set at runtime.
Get the release
Get Release here.
Configure the shell completion
- Fish
echo 'fs --_shell fish | source' >> ~/.config/fish/config.fish
- Zsh
echo 'source <(fs --_shell zsh)' >> ~/.zshrc
- Bash
echo 'source <(fs --_shell bash)' >> ~/.bashrc
- PowerShell
Add-Content $PROFILE "`nfs --_shell powershell | Out-String | Invoke-Expression"
- PowerShell7
Add-Content $PROFILE "`nfs --_shell powershell7 | Out-String | Invoke-Expression"
LICENSE
MPL-2.0
Dependencies
~9–14MB
~251K SLoC