3

From what I've seen it seems like the basic hotkeys do not allow such a thing, besides if I use the following command on the terminal :

screencapture -ci somepath/screenshot.jpg

It only copies the screenshot to the clipboard but doesn't create the file screenshot.jpg at all (-c copies to clipboard and -i makes the user select a rectangle region to capture)

Thanks for your help.

T__O
  • 133
  • 4

2 Answers2

3

According to man screencapture one can only save to the clipboard or to a file: there doesn't seem to be any way around this as designed.

The description of the command uses the word 'or' to indicate that only one action is possible: save the screencapture to a file or to the clipboard:

enter image description here

IconDaemon
  • 19,234
1

Check out this question: What's the quickest way to get a graphic on the clipboard saved to disk?

And this utility:

pngpaste

Paste PNG into files, much like pbpaste does for text.

zzzzzz
  • 111