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

0

2 Answers 2

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

4
  • what does it do? Commented Jan 16, 2018 at 11:21
  • It gives the number of files in the status line at the bottom of the screen. Commented Jan 16, 2018 at 21:16
  • @Pierre.Vriens -- did you read the topic and the OP's question ("a command line file explorer/manager that displays the number of files for each directory")? In any event, I edited my answer. Commented Jan 18, 2018 at 12:11
  • @FrançoisTonneau : aha, now I get it ("merci" for the edit) ... Commented Jan 18, 2018 at 12:18
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .