A short list with categories of my smol terminal focused tools, scripts and functions I have created over the years. There are some general purpose and very specific ones. This list was needed, because in Github it was a bit cluttered. Maybe, just maybe, you find something useful or inspiring in there.

  • thingsiplay@beehaw.orgOP
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    6 months ago

    I’ve seen this before. It’s a nice visualization. As for the “biggest” script, its not as slow as you think. It’s a single du call (alongside cheap sort, head and tac) and therefore quite fast. In example in my ~/Documents directory is almost 1 TB big and running time biggest Documents executes it in almost 2 seconds (for the first time after a reboot). Subsequent calls are quicker, 0.6s and then 0.07s. Edit: And BTW, it’s a mechanical HDD, not SSD too.

    Also I like the output of the files or folders and I can even use commandline arguments like biggest Documents/*.txt in example. So for me this is enough and exactly what I need.