Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Prevent a Mac from sleeping from the command line ' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Prevent a Mac from sleeping from the command line
Authored by: jaydisc on Jun 24, '13 04:51:53PM

This is perfect when doing a long, command-line task, like a large restore, copy or an rsync. Often in those situations, before using this, I'd come back to the machine, only to find it sleeping, with its network connectivity (and thus my transfer) disconnected.

ALTHOUGH… it looks like you can get more granular control with the built-in, command-line utility, caffeinate, like only preventing display sleep, AC power sleep, and also the ability to set timers.

man caffeinate

[ Reply to This | # ]