Skip to content

ish7o/gf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

gf - go find ( not girlfriend )

gf is a tool for searching for files and directories with nice features like regex.

Syntax:

$ gf [options ...] path

Options:

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.

Take a look ( they are nicely bold and blue and nice and cool ):

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages