Almost everyone has accidentally replaced a valuable file at least once in their life. All it takes for such a mistake to happen is just one click of the mouse. Luckily, there are a few ways out of such an inconvenient situation.
So how to recover overwritten files on Mac? What should you do if you don’t have a backup available with the original file? Read on to get an answer to all your questions.
Where Do Replaced Files Go on Mac?
It can happen insanely fast: you create a new file called, for example, invoice.docx, and when saving the file, it occurs to you that there already is a file with such a name on your Mac. Then you get asked whether you want to replace it with the new one and if you click Yes instead of No, it may seem like the old file is gone forever.
But what happens to the replaced file? Overall, here’s how file overwriting works:
- The original file gets flagged by macOS as deleted.
- The new file gets saved somewhere on the disk.
This is especially true with modern SSDs. When you overwrite a file, the drive performs wear leveling, and therefore there are high chances that the other file will be saved to a different location. In this process, the original file doesn’t actually get erased (it just stays ignored), making it possible to recover it.
However, there are many different file systems and implementations of them, so if you want to recover a file replaced by another file with the same name, it is best to stop using the disk where that file is located and start the recovery process as soon as possible.
4 Methods to Recover Replaced Files on Mac
In general, if you accidentally overwrote a file, there are four main ways you can recover it: with the help of data recovery software, via Time Machine, from a cloud backup, or using your file history. You should choose a suitable method depending on your situation.
Here are step-by-step instructions for each file recovery method.
Data Recovery Software
Using data recovery software is one of the quickest and hassle-free ways of recovering overwritten files on your device. A great example of such software is Disk Drill. It is a reliable and versatile data recovery tool that can be used for restoring overwritten files on Windows and Mac computers.
It will be possible to recover an accidentally replaced file on your Mac with the help of such software only if the file is still physically located on your disk and hasn’t been overwritten with new data.
Follow these steps to recover saved over files on Mac via Disk Drill:
Time Machine is a built-in macOS tool that can be used for various purposes, including for recovering accidentally replaced files on Mac. However, there is one major drawback of this software: if your backup doesn’t contain the original file, you won’t be able to restore it.
Here’s what you should do to recover a file that was replaced via Time Machine:
That’s it! After doing this, the original file should reappear on your Mac.
If instead of backing up your Mac via Time Machine, you use a cloud backup service, it’s possible to use that service to restore replaced files. Whether you’re using iCloud or any other online backup service (Dropbox, Google Drive, or OneDrive), the process of recovering overwritten files should be pain-free and quick.
Here’s how to recover replaced files on Mac via iCloud:
If you’re using a different online backup service, you should be able to get back a file you replaced as long as that service keeps a history of changes made to your files and as long as you’ve completed a backup at the right time.
Many apps that are used on a macOS-powered computer (such as Pages, Keynote, Word, Excel, and others) have a feature called Revert To that lets you view your file history.
If you want to recover an overwritten file on your Mac directly through the app that way used to create that file, here’s what you should do:
If you need to restore a file through non-native macOS apps (Microsoft Word, for instance), do the following:
Depending on the application you’re using, the process of recovering overwritten files may slightly differ.