caffeinate
SafeKeep the Mac awake
caffeinate -i <command>
Prevents sleep while a command runs (or for -t seconds) — protect long copies and builds.
Examples
caffeinate -i rsync -av src/ dst/Stay awake during a copy
Syntax
caffeinate [-i] [-t sec] [command]
Before you run it
Auto-releases when done.
Used when you see
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store