broot icon indicating copy to clipboard operation
broot copied to clipboard

`--sort-by-type` flag

Open dimas-cyriaco opened this issue 2 years ago • 3 comments

It would be great if we could start broot with --sort-by-type.

dimas-cyriaco avatar Sep 16 '22 19:09 dimas-cyriaco

+1, I also noticed that flag does not exist.

p7u avatar Sep 18 '22 14:09 p7u

more --sort-by-extension or --some-by-file-type and broot try to guess file nature ?

It would be better if you extend clearly what you want.

Stargateur avatar Sep 18 '22 15:09 Stargateur

@Stargateur there's now a :sort_by_type command. So br --sort-by-type would be the rough equivalent of br -c :sort_by_type. This would be consistent with --sort-by-date which already exists

Canop avatar Sep 18 '22 15:09 Canop