Mac maintenance
How to Find Recently Modified Files on Mac
Lost a file you just edited? Here's every way to find recently modified files on Mac — Finder, Spotlight, Smart Folders, and Terminal.
You saved a screenshot two minutes ago, you swore it was going to the desktop, and now it’s not there. Or you finished a draft Word doc this morning and you can’t remember where it ended up. macOS has several ways to find what you just touched, and most people only know one of them.
Here’s every method, fastest to most thorough.
Finder’s “Recents” sidebar
The sidebar item literally called Recents shows files you’ve recently opened across your whole Mac. To enable it:
- Open Finder
- Settings (
Cmd+,) → Sidebar tab - Check “Recents” under Favorites
Click Recents in the sidebar. Files are sorted by Date Last Opened, most recent first. This is the fastest way to find a file you opened in the last few hours.
Note: Recents shows files you’ve opened, not necessarily files that have been modified. If a process modifies a file in the background (a sync tool, an app’s autosave), it might not appear in Recents. For that, see Smart Folders below.
Sort any folder by date modified
The most direct method, when you know roughly which folder a file is in:
- Open the folder in Finder
- Switch to List view (
Cmd+2) - Click the “Date Modified” column header — clicks once for newest first, twice for oldest first
If the Date Modified column isn’t showing, right-click any column header and check Date Modified. While you’re there, you might also enable Date Last Opened, Date Created, and Date Added — each tracks something slightly different.
For Downloads or Desktop, this is usually all you need. Sort by Date Modified, and the file you just touched is at the top.
Use Spotlight for time-based search
Spotlight understands natural-language date filters. Cmd+Space and try:
kind:document modified:todaykind:image modified:yesterdaykind:pdf modified:this weekname:invoice modified:last 7 days
Combine with file type or name filters to narrow further. kind:pdf modified:today will find every PDF you touched today, anywhere on your Mac.
To open in Finder instead of opening the file, hit Cmd+Return on a result.
Build a Smart Folder for recent files
If you’re constantly looking for “what did I do today,” save a Smart Folder.
- Finder → File → New Smart Folder
- Click
+next to the search field - Set: Date Modified, is, within last, 1, day
- Optionally add another row: Kind, is, [whatever — Document, Image, etc.]
- Click Save → name it “Today’s Files” → keep “Add to Sidebar” on
The Smart Folder updates dynamically. Every file modified in the last day shows up automatically. Click the folder in your sidebar to see today’s work in one place.
Some Smart Folders worth setting up:
- Today’s Files: Date Modified within last 1 day
- This Week: Date Modified within last 7 days
- Recent Big Files: Date Modified within last 7 days, Size greater than 50 MB — useful for finding new downloads or video projects
- Recent Documents: Date Modified within last 7 days, Kind is Document
Apple’s app-specific recent menus
Most Apple apps and many third-party apps have a Recent submenu under File. In TextEdit, Pages, Numbers, Preview, and others:
File → Open Recent shows the last several files you opened in that app. Pick one and it opens.
If you can’t find a file but remember which app you used, this is often the fastest path. macOS also exposes recent docs from each app in the Apple menu → Recent Items, which combines apps and documents into one chronological list.
Use Terminal for power-user searches
For more flexibility than Spotlight gives you, Terminal’s find command can locate files by modification time.
Open Terminal and try:
find ~ -mtime -1 -type f
This finds every regular file in your home folder modified in the last 1 day. Adjust the number for different windows: -mtime -7 for last week, -mtime -30 for last month.
To narrow by file type:
find ~ -mtime -1 -type f -name "*.pdf"
Or to search a specific folder instead of home:
find ~/Documents -mtime -2 -type f
The -mtime flag uses days. For more precision in hours, use -mmin:
find ~/Desktop -mmin -60 -type f
That’s “files modified in the last 60 minutes on the Desktop.”
This isn’t pretty, but it’s exact. When Spotlight is missing files because its index is stale, find works regardless.
“Open Recent” in apps with sticky state
Some apps remember more than the last 10 files. Photoshop and similar pro apps often keep 25-50. Office apps can remember hundreds.
In Pages, Numbers, Keynote: File → Open Recent → Show More to see the full list.
In Word and Excel: File → Open → Recent (left sidebar). You can pin frequently used files here so they don’t fall off as you open more.
This is the most reliable way to find a file when you remember opening it but can’t remember where you saved it.
Time Machine, for deeper history
If you’ve gone past “recently” — the file was modified two months ago and you have no idea where — Time Machine can help if you’ve got it set up.
- Plug in your Time Machine backup drive
- Click the Time Machine icon in the menu bar → Browse Time Machine Backups
- Navigate to the folder where you think the file might have been
- Use the timeline on the right to scrub back to dates the file might have existed
Time Machine shows the state of any folder at any backup point. If a file existed at 3 PM yesterday but doesn’t now, you can recover it from a snapshot.
Quick filter inside any Finder window
You don’t have to switch to Smart Folders for occasional date filters. In any Finder window:
- Click the search box (top-right)
- Type a search query, or just
*to match everything - The bar that appears below the search shows a “Kind” filter — change Kind to “Date Modified” via the dropdown
- Pick a date or relative range
This combines free-text search with date filtering on the fly.
Common “I lost a file” recovery flow
The 90-second sequence I’d run when something just disappears:
- Check Recents in Finder sidebar — most likely place if you opened it
- Sort Downloads by Date Added, descending — second most likely place
- Sort Desktop by Date Modified — third most likely
- Spotlight
kind:[your file type] modified:today— broad search - App’s File → Open Recent — if you remember the app
- Terminal
find ~ -mmin -120 -type f— exact, ugly, but works
Usually steps 1-3 find the file. Steps 4-6 are for stranger cases.
Maintenance
The reason “find recent files” sometimes fails is that Spotlight’s index has gone stale. Symptoms: search results that don’t match what’s actually in folders, files you know exist not appearing.
Fix: Open Terminal and run:
sudo mdutil -E /
This erases and rebuilds the Spotlight index for your boot drive. It takes a while (anywhere from 15 minutes to a few hours), and search will be incomplete during the rebuild. Once finished, Spotlight will be accurate again.
Better yet, keep your Mac’s free space above 10% and let macOS maintain the index normally. A near-full disk is the most common cause of weird Spotlight behavior.
The “I just modified a file and now it’s gone” panic is real — and there’s almost always a way to find it within 90 seconds if you know the right combination of Finder views, Spotlight queries, and Smart Folders. Set up one Smart Folder for “Today’s Files” today and you’ll almost never need to search for recent work again.