I write scripts to:
- combine a sequence of commands i could type manually, but am too lazy to (example: proxy-chrome)
- turn commands i need frequently but can't remember into ones i can (example: ex,ssh-forward,ishostup,rmcaps)
- do things recursively on a file tree (rgit,mvnrc,chres)
- perform transformation operations on many files that are too complicated for find(svg2pdf,imgscale)
- systematize workflows into a script (mvn-release)
- procrastinate (gdwc)
The given examples are a subset of all the scripts I have in my doftiles that can be found in thrau/dotfiles.