broot, a new way to browse directories

dystroy

Denys Séguret

Posted on February 1, 2019

broot, a new way to browse directories

I always loved the overview you can get from a tree like view. But tree is almost never usable, because it usually generates pages (or hundreds of pages) of output.

tree is also not interactively searchable and of course doesn't act as a launcher.

tree was one of the starting point in the reflection. fzf was another one, I can't live without fuzzy search anymore.

And thus I made broot which I use all the time, which lets me go to any directory or file with a few keystrokes and faster than any other one.

shortcut

It's ready for general consumption, now, but I'm still thirsty for feedback.

broot can be launched with commands, which allows for example non interactive shortcuts like this one:

dcd rulset

If any rust expert is around, I'd love to discuss the code, especially any ideas of micro-optimizations (the development of such a program is all about speed).

GitHub logo Canop / broot

A new way to see and navigate directory trees : https://dystroy.org/broot

Broot

Tests MIT Latest Version Chat on Miaou Packaging status

A better way to navigate directories

Complete Documentation - Installation Instructions - Contributing or Getting Help

Get an overview of a directory, even a big one

Hit br -s

overview

Notice the unlisted?

That's what makes it usable where the old tree command would produce pages of output.

.gitignore files are properly dealt with to put unwanted files out of your way.

As you sometimes want to see gitignored files, or hidden ones, you'll soon get used to the alti and alth shortcuts to toggle those visibilities.

(you can ignore them though, see documentation).

Find a directory then cd to it

type a few letters

cd

Hit altenter and you're back to the terminal in the desired location.

This way, you can navigate to a directory with the minimum amount of keystrokes, even if you don't exactly remember where it is.

Broot is fast and doesn't…

💖 💪 🙅 🚩
dystroy
Denys Séguret

Posted on February 1, 2019

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

broot, a new way to browse directories