And I can't remember the options to save my life - and that man page, just goes on and on...
My cheat sheet is 99% of the important ones:
I'll add explainers and examples in a follow up.
| #!/bin/bash | |
| ##################################################### | |
| # Name: Bash CheatSheet for Mac OSX | |
| # | |
| # A little overlook of the Bash basics | |
| # | |
| # Usage: | |
| # | |
| # Author: J. Le Coupanec | |
| # Date: 2014/11/04 |
| #!/bin/bash | |
| # Clone of Capture Screen Region on Mac OSX (map to similar Cmd-Ctrl-Shift-4) | |
| # *** Requirements *** | |
| # shutter - `apt-get install shutter` | |
| # copyq - download from https://github.com/hluk/CopyQ/releases | |
| shutter --select --no_session --exit_after_capture --output=/tmp/screenshot-surrent.png | |
| copyq write image/png - < /tmp/screenshot-surrent.png && copyq select 0 | |
| rm /tmp/screenshot-surrent.png |