Skip to content

fantasygiveup/fdir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

The tool walks through the file system directories and print relative to $HOME path of every matched directory pattern.

Usage

go run main.go "$HOME/github.com" "$HOME/gitlab.com" --patterns .git .hg .bzr .svn --static "$HOME/Documents"

Output:

github.com/clearloop/leetcode-cli
github.com/elixir-lsp/elixir-ls
Documents
...

In the example above, fdir tool seeks recursively into $HOME/github.com and $HOME/github.com directories until it finds any of .git, .hd, bzr or .svn folder. When the find has occurred it prints the parent folder of the matched pattern.

About

Find directories with patterns in a filesystem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages