It doesn’t take much research to discover many data recovery software applications promising to help you get back permanently deleted files from your Mac’s internal hard drive as well as all external storage devices attached to it. But do you really need to use them? Maybe not!
In this article, we explain how to recover deleted files on Mac without software, which, as you probably know, can cost quite a lot of money depending on which application you go for. Each of the methods described in this article is completely safe, and you can go through all of them in less than 30 minutes.
1. Trash Bin
The Trash Bin folder, commonly referred to simply as Trash, should always be the first place to look for deleted files on Mac. That’s because deleted files are first moved to Trash, where they stay for 30 days before they are automatically removed. As long as you don’t take too much time to notice that your files are missing, you can get them back without any effort and without any software.
Step 1. Open the Trash Bin Folder
To open Trash, all you need to do is click the Trash icon in the Dock (it should be on the right side). If you don’t see the icon, we recommend you reset your Dock settings with a simple Terminal command:
- Open the Terminal app.
- Hit enter and log out.
When you log back in, the Dock will be in its default state, and you should see the Trash icon. Alternatively, you can open Trash directly using the following Terminal command: open .trash
Step 2. Select the Deleted Files
Now you need to go through the Trash folder and select the files you want to undelete. You can either manually look at the names of the files inside the folder or use the search feature to find a specific file or all files with a certain file extension.
Regardless of which approach you choose, you need to select each file by pressing and holding the command key and then clicking on it.
Step 3. Use the Put Back Option to Recover Them
Finally, right-click on any of the selected files and select the Put Back option. The files will be moved back to their original locations. If you want to move them to a specific directory, you can simply drag and drop them to another Finder window.
2. Trash Bin via Terminal
Not many Mac users know that it’s also possible to restore files from the Trash Bin folder via the Terminal app. Why would you want to do that? Because it’s sometimes simple to use a single Terminal command than it is to perform multiple GUI actions, or because you’re experiencing issues with Finder that make it impossible for you to recover deleted files from Trash with the mouse.
Step 1. Launch Terminal
To launch the Terminal app, simply bring up Spotlight by pressing the Command key and Space bar at the same time, type “terminal,” and hit Return. Alternatively, open Finder and navigate to Applications and Utilities, which is where the Terminal app can be found.
Step 2. Navigate to Trash
Then you need to navigate to the Trash folder by entering the following command:
If you also want to display the content of the Trash folder, enter this command:
ls -al ~/.Trash
Step 3. Restore Your File
To restore a file from Trash via Terminal, you need to use the mv command and provide the exact name of the file you want to restore and the recovery location as arguments, like this:
mv image.jpg ../
The command above moves the file titled image.jpg to the Home folder.
You can also move all files that are present in the Trash folder at the same time using the following command:
mv * ../
The asterisk (*) is called a wild character, and it acts as a kind of placeholder for unknown characters in a text value. In the command above, it is used to recover all files regardless of their names, but you can also get a bit more creative with it and use it to recover all files with a certain file extension:
mv *.jpg ../
Here the asterisk is used to recover all files with the .jpg file extension. Pretty useful, right? That’s why it’s sometimes more efficient to perform certain actions in the Terminal app.
3. Recover files using Time Machine
Do you use Time Machine, Apple’s backup software application, to automatically back up your Mac to an external storage device? If so, you’re in luck because it’s very likely that you’ll be able to recover your files without any third-party data recovery software.
Open Time Machine
Select Your Files
4. App-Specific Recovery Features
Many Mac apps have their own recovery features that help users avoid catastrophic data loss and recover deleted files without third-party software. A great example of a native Mac app with built-in data recovery capabilities is the Photos app, the default photo management and editing solution included with Mac OS X Yosemite and newer.
When you delete a photo in the Photos app, the image file is moved to the Recently Deleted album, where it stays for 30 days. Once this grace period is over, the photo is automatically deleted, and you can recover it only with special third-party data recovery software.
Step 1. Open the Photos App and Navigate to the Albums tab
The Photos app comes preinstalled on all Mac computers with Mac OS X Yosemite or newer, and you can find it in the Applications folder. If you don’t mind using keyboard shortcuts and want to save some time, you can also open Spotlight (Command + Space), type “photos,” and hit Return.
Step 2. Navigate to the Recently Deleted Library
The Photos app is straightforward, and its main window is divided into two panes. The right pane displays the content of the currently selected library, album, or project, while the left pane displays all available libraries, albums, and projects. What you want to do is select the Recently Deleted library from the left pane so that you can view its content in the right pane.
Step 3. Select Your Photos and Click the Recover Button
You should see all deleted photos, with the days remaining before deletion displayed under them. To select a photo, just click on it. If you want to select multiple photos, keep clicking until they’re all selected. Finally, click the Recover button in the top-right corner. You can find the recovered photos in the Photos library.
5. Undo Command
Do you know that your Mac computer keeps track of everything you do? Macs do this to allow users to undo recent changes made to files. All you need to do is activate the Undo command in the application that was used to delete the missing file.
Let’s say that you’ve accidentally deleted an important file in Finder, and you want to get it back. Simply bring Finder to focus and choose Edit > Undo (from the Edit menu at the top of your screen) or press Command-Z on your keyboard.
You can keep activating the Undo command to go further back in time, but keep in mind that the history of your past actions gets deleted when you restart your Mac or close the application that was used to delete the missing file.