Skip to content
Edith

Docs

Command reference

ed grab clipboard

Terminal
ed grab clipboard [--mode plain|breaks|line|table|code|barcode] [--copy] [--json]

Recognizes the text in the image on the clipboard, such as a copied screenshot, or in an image file copied in Finder. Prints the text; --copy replaces the clipboard with it. The clipboard is read once, only when you run the command. JSON output matches ed grab file.