DEV Community

Cover image for Edit your file hierarchy with Broot 0.7
Denys Séguret
Denys Séguret

Posted on

Edit your file hierarchy with Broot 0.7

I've just released the new version of Broot.

The previous versions focused on viewing and navigating the file hierarchy but I noticed, just like a few other testers, that it could be very convenient to also edit it.

When you create, move, delete, copy your files or directories, you usually do it in the blind, meaning you do some ls (or br) before, and maybe some after.

With the new version of broot you see the file hierarchy when you type your command, and it's immediately updated. The tree view went from read-only to read-write.

mkdir

Standard file commands are built in, you don't need to add them, but the verb configuration syntax allows you to define your own commands the same way and you get to preview the expanded command before it's executed.

There are already a lot of features I can build upon this, and that I plan to do, but the more testers, ideas, stories I get, the happier I'll be!

GitHub logo Canop / broot

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

Broot

CI MIT Latest Version Chat on Miaou

A better way to navigate directories

Table of Contents

Installation

Full installation documentation can be found here.

Feature Showcase

Get an overview of a directory, even a big one

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 (you can ignore them though, see documentation).

Find a directory then cd to it

cd

This way, you can navigate to a directory with the minimum amount of keystrokes, even if…

Discussion (1)

Collapse
dystroy profile image
Denys Séguret Author

Side note: A few days ago I started looking for a simple solution for broot's site, one I could use in about one hour without reading dozens of page of documentation.

Most tools I found aren't focused on documentation enough and their wide abilities means there's too much to do when you want a simple documentation site.

I found that mkdocs is great for this, a good mix of readiness and customability. I'd gladly hear about your experience and alternatives on this topic.