Skip to content

Instantly share code, notes, and snippets.

@pastuhov
Last active July 16, 2020 08:29
Show Gist options
  • Save pastuhov/dc3d2a6967c769b962dd21a96e668451 to your computer and use it in GitHub Desktop.
Save pastuhov/dc3d2a6967c769b962dd21a96e668451 to your computer and use it in GitHub Desktop.
OCR last screenshot and copy on mac
ss=$(ls -t ~/Desktop/*.* | head -n1) && tesseract $ss stdout |tr -d \\f|pbcopy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment