Skip to content

crockeo/pj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pj

A simple command-line tool to find directories which contain a specific file.

Usage

It comes with a nice --help command :)

$ pj --help
pj 0.2.0
A fast sentinel file finder.

USAGE:
    pj [OPTIONS] <sentinel-pattern> [--] [root-dirs]...

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -d, --depth <depth>
        --ignore <ignore>...

ARGS:
    <sentinel-pattern>
    <root-dirs>...```

For example, find all of your git repositories under your ~/src directory
while ignoring directories `go`, `venv` and `node_modules`:

```shell
pj '\.git' --ignore go venv node_modules -- ~/src

License

MIT Open Source, refer to LICENSE file for details.

About

ProJect finder, aka pj. Finds sentinel files fast.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages