broot <ROOT>

Broot lets you explore file hierarchies with a tree-like view, manipulate files, launch actions, and define your own shortcuts. broot is best launched as br: this shell function gives you access to more commands, especially cd. The br shell function is interactively installed on first broot launch. Flags and options can be classically passed on launch but also written in the configuration file. Each flag has a counter-flag so that you can cancel at command line a flag which has been set in the configuration file

Arguments

NameDescription
ROOTSets the root directory

Options

NameDescription
--dates, -dShow the last modified date of files and directories
--no-dates, -DDon't show the last modified date
--only-folders, -fOnly show folders
--no-only-folders, -FShow folders and files alike
--show-root-fsShow filesystem info on top
--show-git-info, -gShow git statuses on files and stats of repository
--no-show-git-info, -GDon't show git statuses on files nor stats
--git-statusOnly show files having an interesting git status, including hidden ones
--hidden, -hShow hidden files
--no-hidden, -HDon't show hidden files
--show-gitignored, -iShow files which should be ignored according to git
--no-show-gitignored, -IDon't show gitignored files
--permissions, -pShow permissions with owner and group
--no-permissions, -PDon't show permissions
--sizes, -sShow the sizes of files and directories. When this mode is on, children aren't shown so that the biggest entries at the selected level can be sorted first
--no-sizes, -SDon't show sizes
--sort-by-countSort by count (only show one level of the tree)
--sort-by-dateSort by date (only show one level of the tree)
--sort-by-sizeSort by size (only show one level of the tree)
--whale-spotting, -wSort by size, show ignored and hidden files
--no-sortDon't sort
--trim-root, -tTrim the root: remove elements which would exceed the screen size. This removes the scrollbar
--no-trim-root, -TDon't trim the root (still trim the deeper levels). A scrollbar may be used when there are too many elements to show on screen
--installInstall or reinstall the br shell function
--get-rootAsk for the current root of the remote broot
--color [arg]Controls styling of the output (default: auto). If set to auto, all styling is removed when output is piped
--helpPrints a help page, with more or less the same content as this man page
--version, -vPrints the version of broot
--outcmd <cmd-export-path>Where to write a command if broot produces one
--cmd, -c <commands>Semicolon separated commands to execute on start of broot
--conf <conf>Semicolon separated paths to specific config files
--height <height>Height to use if you don't want to fill the screen or for file export (by default the terminal height is used)
--out, -o <file-export-path>Where to write the produced path, if any
--set-install-state <state>Set the installation state. This is mostly useful in installation scripts to override the normal installation process
--print-shell-function <shell>Print to stdout the br function for the given shell. This can be used in your own installation process overriden the standard one
--listen <listen>Listen for commands
--send <send>Send commands to a remote broot then quits