Restore a File from Time Machine with tmutil restore
Copy a specific file out of a dated backup folder straight to a destination path, no GUI needed.
01Command
$ sudo tmutil restore /Volumes/Backup/Backups.backupdb/<Mac>/<date>/Macintosh\ HD/Users/me/doc.txt ~/Documents/doc-restored.txt02What it does
Time Machine stores dated snapshots under Backups.backupdb (or the volume layout used by APFS backups), so you can browse the backup volume and copy the exact version you need. `tmutil restore` does more than a plain cp: like Finder it also restores the file's Time Machine metadata such as extended attributes. Give the source path inside the backup first and the destination last; tmutil refuses to overwrite, so if the destination exists, delete or rename it first. Run inside a Terminal that has Full Disk Access to the backup volume if permissions complain.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- tmutil(8) man pageEvidence: Man page for tmutil: the restore verb copies items from a backup to a destination, requires the last path argument to be the destination, and warns the destination must not already exist.
- tmutil - Time Machine management utilityEvidence: Documents `restore [-v] src … dst`: 'Restore. The last path argument must be a destination… for the restore verb, tmutil behaves largely like Finder' restoring data and Time Machine metadata.
Last verified: 2026-09-19 · Category: Files & Folders
06Related solutions
See every local APFS Time Machine snapshot on your startup disk and delete ones you no longer need.
List the biggest files in your home folder that are eating disk space.
Make Finder display .pdf, .docx, .png and every other extension at all times.