Mouse JigglerMade for MacDownload Mouse Jiggler on the Mac App Store
macOS guides

Keep Your Mac Awake While Copying Files to an External Drive

Use a timed awake window for a Finder copy to a USB drive or external SSD. Check the copied files, compare an important file’s checksum, and eject safely.

Silver laptop connected to an external SSD, with floating file sheets and a blue copy-progress bar.
Editorial illustration
The quick answer

For a long Finder copy, keep your MacBook plugged in with its lid open and run caffeinate -i -t 7200 in Terminal. This requests two hours without idle system sleep while allowing the display to turn off. Check that the copy finishes before the timer ends, then eject the drive before unplugging it.

Prepare the drive and start a copy

Large folders can take longer than Finder first estimates. Start with enough destination space and keep the originals. The screen can turn off during a successful copy; display sleep is separate from system sleep.

  1. Connect the external drive with a suitable cable. Confirm that it appears under Locations in Finder.
  2. Select the destination drive and choose File → Get Info to check available space. Allow room for the complete copy.
  3. Use a new, clearly named destination folder, such as Video archive — October 6. This makes a retry easier to distinguish from an earlier partial copy.
  4. Select the source files in Finder and press Command-C. Open your destination folder and press Command-V. Keep the originals while you verify the result.

Apple’s external-storage guide explains connecting a drive, locating it in Finder, and ejecting it. If Finder reports a permission or disk error, address that message before treating the problem as sleep.

Give the copy a two-hour awake window

Open Terminal with Spotlight and enter:

caffeinate -i -t 7200

Leave that command running while Finder copies the files. No progress message from Terminal is normal. The -i option requests protection from idle system sleep; 7200 is a two-hour timeout in seconds. The display can still go dark. To stop your request early, click its Terminal window and press Control-C.

The timer starts when you run the command. It does not watch Finder or know when your copy finishes. If the copy needs more time, start a fresh session before the first one expires. For other durations and command options, use the caffeinate guide and Apple’s command reference.

Keep a MacBook’s lid open and connect power for a long session. An idle-sleep request cannot fix a loose cable, reconnect a drive, or guarantee continued operation after you close the lid or choose Sleep manually.

Example: copying a 60 GB video folder

Suppose Finder estimates 45 minutes for your 60 GB folder. Start the two-hour awake session, then note the copy’s start time, destination folder, and progress. Check again after five minutes to confirm that the transferred amount is increasing.

Return before the timer ends. If Finder has finished, check the destination; if the estimate has grown, allow more time. File count, drive and cable speed, and other disk activity all affect duration. The 60 GB figure is an example, not a transfer benchmark.

If you need to step away, keep your normal password protection. Our locked-screen setup explains how to lock the Mac separately from requesting that it remain awake.

For regular transfers, check the power setting

If you often copy large folders while connected to power, a standing preference may be more convenient than a timer. On a Mac laptop, open System Settings → Battery → Options and enable the option that prevents automatic sleep on power when the display is off. Desktop Macs have the corresponding control under System Settings → Energy. Availability depends on the model.

Record the previous setting and restore it afterward if the change is temporary. Keeping the Mac awake uses energy even with the screen off. Apple’s sleep guide lists the model-specific controls.

Verify the copy before removing the drive

  1. Wait until Finder’s copy progress has finished and resolve any error message. A destination folder existing is not proof that every file arrived.
  2. Open the destination folder on the external drive. Check the expected files and open a few important ones from that location.
  3. For one particularly important file, optionally compare its SHA-256 digest with the original using the read-only command below.
  4. Close files you opened from the drive. Click the eject button beside the drive in Finder and wait for it to disappear before disconnecting it.
shasum -a 256 "/path/to/original/clip.mov" "/Volumes/My SSD/Video archive/clip.mov"

Those are example paths: replace both with your actual files. You can type shasum -a 256 , drag the original into Terminal, type a space, and drag in the copy. This lets Terminal handle spaces in the paths. Press Return and compare the long hexadecimal values at the beginning of the two output lines.

Matching values are a strong check that those two files contain the same bytes. They do not verify every file in the folder, its metadata, or the future health of the disk. Hashing large files also takes time. Keep the source until you are satisfied with the whole copy.

If ejecting fails, check whether an app is still using files on the drive. Apple provides steps for a disk that will not eject. Do not unplug it while a copy is still writing.

If the external-drive copy still stops

What you seeWhat to check next
The screen went dark, but the copy finishedNo transfer failure occurred. You do not need to keep the display illuminated.
The drive disappears from FinderCheck its cable, connector, hub, and power supply if it uses one. After resolving the connection, retry into a separate folder so the earlier partial copy remains identifiable.
Finder says there is not enough spaceCheck destination capacity. A sleep-prevention command cannot create storage space.
A particular file produces an errorRecord the exact message. Check whether the source opens and whether that destination accepts the file; do not erase the drive as a first step.
The timer ended before the copyStart another awake session and check Finder’s progress. The timer ending alone does not prove that macOS slept.
The copy stalls while the Mac is visibly awakeInvestigate disk or connection problems as well as sleep. If possible, compare a small copy with the drive connected directly.

Keep a short record: source folder, destination folder, cable or hub, power source, start time, awake-session duration, and exact error. Change one variable at a time. For a transfer through a browser instead, use our downloads and uploads guide. For a backup managed by Time Machine, check Time Machine’s completion status rather than treating it as a Finder copy.

What we tested, and where Mouse Jiggler fits

On October 6, 2026, we checked the command behavior on macOS 27.0. A three-second caffeinate -i -t 3 session created its own idle-system-sleep assertion and released it after the timer. A separate session released its assertion when interrupted with SIGINT, the signal normally sent by Control-C. We also copied a 1 MiB temporary file locally and confirmed that shasum -a 256 returned matching digests for the original and copy.

These checks verify the timer, stopping mechanism, and file-comparison command. They are not an external-drive endurance test or a claim that a 60 GB transfer was tested. Try a short copy with your own drive before leaving a larger job unattended.

For a one-off copy, the command above is enough to request an awake window. Mouse Jiggler adds menu-bar timing and recurring schedules, with a separate Prevent Sleep While Active setting in version 3.4. Review its stop conditions and leave automatic clicks and scrolling off for Finder copying.

Using a network drive instead of a USB cable? Follow the Finder and NAS copy checklist to check the shared folder, the server, and the destination files separately from Mac sleep.

To try the menu-bar approach for future sessions, download Mouse Jiggler on the Mac App Store. Keep copy verification and safe drive removal as separate steps.

Try Mouse Jiggler for Mac.

Set movement timing and an end time from your menu bar. The app is free to download, with optional PRO controls.

Download Mouse Jiggler on the Mac App Store