Automate screenshots and video capture in macOS using Terminal

Apple includes a command line utility called screencapture which allows macOS to take any number of screenshots silently in the background, hands-free, while the user is working.

Read more...