Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

33
osx/screencapture Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, osx]
source: https://github.com/tldr-pages/tldr.git
---
# screencapture
> Utility to take screenshots and screen recordings.
> More information: <https://keith.github.io/xcode-man-pages/screencapture.1.html>.
- Take a screenshot and save it to a file:
`screencapture {{path/to/file.png}}`
- Take a screenshot including the mouse cursor:
`screencapture -C {{path/to/file.png}}`
- Take a screenshot and open it in Preview, instead of saving:
`screencapture -P`
- Take a screenshot of a selected rectangular area:
`screencapture -i {{path/to/file.png}}`
- Take a screenshot after a delay:
`screencapture -T {{seconds}} {{path/to/file.png}}`
- Make a screen recording and save it to a file:
`screencapture -v {{path/to/file.mp4}}`