I love ag :: the_silver_searcher
but I am wondering how can I perform a search non-recursively.
Sometimes I want to search only inside files from my home directory but without looking in subdirectories.
Check the depth option from the manual :
--depth NUM : Search up to NUM directories deep, -1 for unlimited. Default is 25.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With