Macos screencapture

From wikinotes

cli screen capture tool, preinstalled with macos.

screencapture -s -T 5 out.png  # select region, wait 5s, then capture selection