A large review packet usually takes about 25 minutes to export. You need to stay nearby, but you do not want to keep touching the trackpad just to stop the Mac from idling. A timed caffeinate run can cover the work and then end on its own.

Start a timer with a margin

Open Terminal before starting the export. In this example, allow 45 minutes for the estimated 25-minute job.

caffeinate -i -t 2700

-i prevents idle system sleep while the assertion is active. -t takes seconds, so 2700 is 45 minutes. Leave the Terminal session running and start the export in your editor. The display can still go dark. Keep a laptop open and powered as needed for the job.

A terminal example shows caffeinate -i -t 2700 and explains idle sleep and the 45-minute duration.

Example timer. 2,700 seconds gives the export a 45-minute idle-sleep window.

Watch the export, not just the clock

The timer and the application run separately. If the export is still working when the time runs out, start a new timer as needed. If the export finishes early, you can return to the Terminal window and press Control+C to stop the running command.

A timeline compares a 25-minute estimated export with a timer ending at 45 minutes.

Illustrative timing. The timer has a margin and can expire independently of the export.

Open the exported file from its actual destination. For a PDF packet, check the expected page count and the last page. That confirms the editor finished writing the file. The timer only addresses idle sleep.

Reference Apple’s caffeinate manual.