See All Files on Mac Hard Drive: Full Guide
In this article
To see all files on a Mac hard drive, including hidden system files, open Finder, press Shift+Command+. (period) to toggle hidden files, or use the Go menu and select Computer to browse the entire drive. For a complete list, use Terminal commands to list every file and folder, including those normally invisible in Finder.
Why Some Files Are Hidden
macOS hides certain files and folders to protect system integrity and reduce clutter. These include Unix-style configuration files (starting with a period, like .bash_profile), system caches, and user library folders. Apple assumes most users never need to touch these, so they are invisible by default. Hidden files are not deleted or missing; they are simply not shown in Finder's standard view. Understanding this distinction is the first step to seeing everything on your drive.
Using Finder to See All Files
Finder is the default file manager on macOS. To see all files on your hard drive, follow these steps:
- Open a new Finder window by clicking the Finder icon in the Dock.
- Press Shift+Command+. (period) to toggle the visibility of hidden files. You will see semi-transparent files and folders appear.
- To browse the entire drive, press Shift+Command+G and type
/, then press Return. This opens the root directory of your startup drive. - Alternatively, go to the Go menu and select Computer. This shows all connected drives, including your main hard drive.
Remember that the keyboard shortcut only affects the current Finder window. If you open a new window, you may need to press it again.
Using Terminal to List Every File
For a complete, exhaustive list of every file on your Mac, Terminal is the most powerful tool. The find command can list every file and folder recursively:
- Open Terminal (found in Applications > Utilities).
- Type
find / -printand press Return. This will list every item starting from the root directory. - To save the list to a file for easier review, use
find / -print > ~/Desktop/all_files.txt. This creates a text file on your desktop.
The find command will include system files, caches, and other hidden data. Be prepared for a very long list—potentially hundreds of thousands of items. You can also use ls -la / to see the contents of the root directory with hidden files and permissions.
How to See Files in Specific Folders
Often you don't need the entire drive, just a specific folder. For example, to see all files in your home folder including hidden ones, open Terminal and type ls -la ~. This shows every file and folder in your home directory, including those starting with a period. Similarly, to see the hidden Library folder in your home directory, use ls -la ~/Library. In Finder, you can also press Shift+Command+. while inside any folder to reveal hidden items.
Common Problems and Solutions
Users often encounter issues when trying to see all files:
- Hidden files still not visible: The keyboard shortcut may not work if you are in a special view (like Cover Flow). Try switching to list or icon view first.
- Cannot access certain folders: Some system folders (like
/System) are protected by System Integrity Protection (SIP). You cannot browse them fully even with hidden files shown. To see them, you would need to disable SIP, which is not recommended for security. - Terminal says permission denied: Many directories require administrative privileges. Use
sudo find / -printand enter your password, but be cautious—this will show everything and may take a long time.
Safety and Precautions
Seeing all files is safe, but modifying or deleting hidden files can cause serious problems. System files are essential for macOS to function. Do not delete or move files you do not recognize, especially in /System, /Library, or /private. If you need to free up space, use the built-in Storage Management tool (Apple menu > About This Mac > Storage) instead of manually deleting files. Always back up your Mac with Time Machine before making any significant changes.
Alternatives to Browsing Manually
If you want to see all files for a specific purpose (like finding large files or duplicates), consider using Finder's Search feature. Press Command+F, then set the search scope to This Mac, and add criteria like file size or kind. For a more visual approach, the Go to Folder command (Shift+Command+G) lets you jump directly to any path, even hidden ones. For advanced users, third-party file managers offer more features, but the built-in tools are sufficient for most needs.
Frequently Asked Questions
How do I show hidden files on my Mac?
Press Shift+Command+. (period) in any Finder window. This toggles hidden files on and off. The change applies to the active window only.
Why can't I see the Library folder in Finder?
The Library folder in your home directory is hidden by default. To see it, press Shift+Command+. while in your home folder, or use Go to Folder and type ~/Library.
Is it safe to delete hidden files?
Generally no. Hidden files often contain system preferences, caches, or configuration data. Deleting them can cause apps to malfunction or lose data. Only delete hidden files if you are certain of what they are.
How do I see all files on an external hard drive?
Connect the drive, then open Finder and select the drive under Locations in the sidebar. Press Shift+Command+. to show hidden files on that drive. If the drive is formatted for Windows (NTFS), you may only have read access.
What is the difference between hidden files and system files?
Hidden files are simply not shown in Finder by default. System files are protected by macOS and are essential for operation. Some system files are hidden, but not all hidden files are system files—many are user preferences.
Can I see all files without Terminal?
Yes, using the Finder keyboard shortcut Shift+Command+. is the easiest way. For the entire drive, use Go to Computer. Terminal is only necessary for a complete recursive listing.