There are plenty of utilities (GUI, such as filelight and TUI, such as dua as well) for analyzing disk usage by space, but I would like to view my folders based on the count of files, as I’m making backups, and folders with lots of small files (e.g. node_modules) take very long to move around, so I guess that I’d be better of compressing those into a single file before archiving, as it’s already highly unlikely that I’ll need to access them anyway. Thanks for any pointers in advance!

  • rlychilplr@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    7 months ago

    Ranger (tui) shows the amount of files in a directory. Im not sure about this but ncdu (also tui) might do this recursivaly.