0

I am looking for a command line file explorer/manager that displays the number of files for each directory.

For example, ncdu displays the folder sizes:

enter image description here

I would like to have the same with the number of files.

I am aware of ls -la or find, however I want to be able to navigate through the folders. (with ls -la one has to execute this command for each folder one wishes to analyze, and cd in between). Example of folder navigation with ncdu:

enter image description here

2 Answers2

1

ranger does what you need: it is a command-line [TUI] file explorer/manager and it does display the number of files for each directory

0

It's difficult finding a program which meets your needs exactly. You could try hacking into midnight commander. It should be straight forward, adding a new coloumn entry, or replacing a current column. On a sidenote, you could switch to zsh, it allows you to define shortcut keys to command templates

saga
  • 1,401