go build -o ./bin/search[.exe|.sh|...] search/src
search <File|Directory|Pattern> [Options]
The search requests can be a file or directory name. You can also use glob pattern like *
or [Ss]ong.*
to look for your files!
For more information about the glob pattern visit its wiki page.
-b, --base The root folder in which the search process begins.
On default, it starts at the current folder but you
can specify manually to scan the whole system with
`--base "/"`.
-s, --stop Stop the search process on the first match.
-m, --max The search process stops automatically when it finds
more than 10000 matches. You can extend this limit
with this flag.
- Find files with Go | 05.03.2020
- filepath package | 06.03.2020
- go-flags package | 06.03.2020
- go-flags api | 06.03.2020
- Understanding sync.waitGroup | 06.03.2020
- glob.go package | 06.03.2020
- The Go Gopher Logo - Renee French | 13.04.2020
- Folder icon - OpenClipart - Pixabay
MIT
GitHub kurbaniec · Mail at.kacper.urbaniec@gmail.com