diff --git a/src/content/notes/NixOS/Useful Utilities.md b/src/content/notes/NixOS/Useful Utilities.md new file mode 100644 index 0000000..2c6f0e3 --- /dev/null +++ b/src/content/notes/NixOS/Useful Utilities.md @@ -0,0 +1,13 @@ +--- +title: Useful Utilities +--- + +Here's a small collection of various utilities and recipes I find useful. It's not organized in a particular way, but more as a long-term memory for me. + +## JPEG Optimization + +[jpegoptim](https://github.com/tjko/jpegoptim) is a handy little utility for doing JPEG optimization. I use it to compress files and strip EXIF data. Here's an example that will process all the files in the current directory and compress them to a reasonable 85. + +```bash +nix run 'nixpkgs#jpegoptim' -- --max=85 --strip-all *.jpg +```