Tag: cli

  • CSV from the command line

    There’s a whole bunch of tools out there: miller seems to be the most versitile (that I could install without effort) xsv also looks good. dasel appears to be similar, but I haven’t tried it yet. pspg looks very good. The instructions to install csvtk are out of date (go get instead of go install)…

  • colout

    colout is an interesting tool: like grep but different. The idea is to highlight lines (or parts of lines) that match a particular pattern. Sadly, it won’t build in my environment, and I don’t understand python well enough to figure out what’s wrong. 🙁

  • Visidata

    I stumbled onto visidata. I’ve got tons of csv files and the ability to view them quickly at the command line is a huge win. But this thing is amazing. Csv files are the tiny tip of a huge iceberg. Update: I’m reminded of the xsv tool, which I discovered and promptly forgot.

  • Duff – duplicate file finder

    I’ve got this folder called vast/todo/t.temp that’s got a 100 GB of stuff from old computers in it. Typically, I just copy stuff there and tell myself I’ll get back to it. There are 61,287 files, none less than a year old, and (as of now) only 5 of those 60-thousand files are less than…

  • Hex Dump Utilities

    I’ve found two new hex dump utilities, one from each of the two languages I’m learning about. They are heksa and hexyl and here’s how you get them: $ go get -u github.com/raspi/heksa $ cargo install hexyl

  • More of those CLI Utilities

    I’ve found some more CLI utilities (via this thread) that look like they’re worth further investigation. Zola, a static site generator fd (a/k/a fd-find), an “80% replacement” for find; see also fselect xsv, a tool for working with CSV files broot, another disk analysis/tree replacement sd, a sed replacement cw, a wc replacement hors, a…

  • Rust Command-Line Utilities

    I’ve been learning (or maybe beginning to learn) the Rust programming language. (It was a toss-up between that and Go, and I probably picked wrong, but I won’t know until I know a lot more than I do now.) Tokei (for counting source code lines) and diffr as an alternative to colordiff ripgrep as an…

  • Command Line Interfaces of the Future

    This cracks me up: the Windows 8 server is going to nudge, and eventually force, administrators to give up their point-and-click interfaces in favor of something a little more up-to-date. (I could have told you they’d eventually wind up here, after struggling for years with COMMAND.COM and CMD.EXE, only to see them finally produce a…

  • MacPorts tip

    I started getting messages when I tried to update my MacPorts tools. I can’t say when it started, because I don’t do it very often. (Like maybe once a month. Bad me.) But it would bomb out, telling me Error: checksum (md5/sha1/rmd160) mismatch for port. Then it sent me down a wrong path, suggesting it…

  • Diff Tools

    My favorite diff tool is FileMerge, one of Apple’s developer tools, which can be accessed from the command line as opendiff. But from the command line, my (next most) favorite diff tool is colordiff. It’s called that because it color-codes the output when it’s used interactively, making it IMHO easier to see what’s changed. Actually,…