$ gf [options ...] path
| Flag | Usage |
|---|---|
-d |
Set the max depth of file checking. Default is 3. |
-n |
Search for files with the given phrase in name. |
-t |
Specify if should search for files or directories. |
-e |
Search for files with a given extension. |
-s |
Sort files by name, size, or modification time. |
-x |
Search name with regular expressions. |
julian@archlinux ~/projects $ gf -x "[a-c]" -t f -s size -d 3 .
project/
β- script.py
β-β¬ .py_env/
β- config.py
β-β¬ logs/
β- app.log
β-β¬ assets/
β- script.js
β- style.css
β-β¬ docs/
β- tutorial.md
β-β¬ src/
β- main.py
β-β¬ tests/
β- test_main.py