Cat got your jpeg?10.01.15 · c
cat is a great command line utility. It prints files to the console. It also combine multiple files into one. You can even
cat together non-text files like mpegs!
Unfortunately, you can’t
cat images to the console, which is a pain in the ass. Of course, OSX has spacebar preview, but you have to leave the console for that and it only works on Macs. 😑
Sure, it’s blocky and coarse, but it’s also fast and it works. Now I can edit text files, preview an image without switching windows, and go back to whatever I was doing. And yes, you can now
cat cats. 😸
You can specify a desired height / width, or catimg will default to the width of your current terminal.