broot icon indicating copy to clipboard operation
broot copied to clipboard

Request: Verb: Toggle descending/following all symlinks

Open AndydeCleyre opened this issue 1 year ago • 5 comments

In some directories I use symlinks to other directories, and I would like to be able to filter down the tree, including children of symlinks.

I understand it's probably a bad idea to turn that behavior on by default, but I'd like to interactively toggle it, when I'm in a situation where it seems reasonable.

AndydeCleyre avatar Mar 14 '24 18:03 AndydeCleyre

This situation where it seems reasonable, isn't it when the visible tree is some path or inside ?

Canop avatar Mar 14 '24 18:03 Canop

I'm not sure what you mean, sorry. To my mind the visible tree is always a path.


I guess this would require some defense against infinitely recursive folder structures.

AndydeCleyre avatar Mar 15 '24 02:03 AndydeCleyre

For example if music is arranged by artist and year and genre in the filesystem, using symlinks to have the same file appear in multiple folders (1990s, rock), I'd like to be able to filter the tree and see all structured path results.

Maybe it could have a very limited maximum link depth to keep things from getting out of hand?

AndydeCleyre avatar Mar 18 '24 17:03 AndydeCleyre

Ok, it's clear.

Canop avatar Mar 18 '24 17:03 Canop

Related: #843 may be useful to safeguard against recursive trees.

AndydeCleyre avatar Apr 16 '25 16:04 AndydeCleyre