Asked

What are some of your favorite bash scripts?

While GUIs are great, bash scripting can provide a powerful way to automate common workflows. What are your favorites?

Please link to a source / gist where relevant.

My current favorite is using Imagemagick to resize according to Chrome Extensions Screenshot -

magick old-image.png -resize 1240*800 new-image.png

And batch resize all images in a folder using Imagemagick

cd <folder>

magick mogrify -resize 1280x800! *.png

ShellCheck is great for linting / spotting potential errors with your shell scripts.

HomeSick is great for managing your dotfiles. Even though it's Ruby, it makes managing shell scripts pretty easy.

Sign in to answer πŸ˜ƒ