Like ls
but outputs JSON!
lj
is available on Homebrew for Intel Mac users.
brew tap alex9smith/lj
brew install lj
For all other OSs and architectures, you'll need to build from source and copy the binary to your favourite folder on your $PATH.
$ lj [path] [options]
--help Shows the available options.
-r, --recursive If set, lj will recursively search directories at the target path for files
up to a maximum search depth. Set the depth with '-d=', defaults to 5.
-d, --depth The search depth to use when recursively searching folders for files.
If set, you must also pass '-r', Defaults to 5.
lj
is a Rust binary. Install Cargo for your OS, clone this repo and run cargo build
from the root.
Pull requests with reasonable changes are very welcome. If you have a feature request, please open an issue on Github.