Of course, anyone can find these files using the methods listed above, so this is not a real substitution for file encryption or any other legitimate security measures. 1 Answer Sorted by: 9 You can use chflags To hide a file from Finder chflags hidden /Path/To/File To unhide: chflags nohidden /Path/To/File Share Improve this answer Follow answered at 2:00 Kent 6,172 1 22 33 1 Also, the ls -lO command will show file flags, including the hidden flag. Drag the file you wish to hide into the Terminal window to display its path.This would be most helpful if you have password-protected files or just want to prevent anyone who uses your Mac from messing around with something that's not already hidden. This method might seem less helpful than going through Finder, but Terminal can also help you hide individual files and folders on your computer. Type defaults write AppleShowAllFiles false and press Enter.When you want to hide these files again, replace the value true with false, which would look like: Once both lines of code run, you should see your hidden files in Finder and any temporary files saved on the desktop. Type defaults write AppleShowAllFiles true and press Enter.Find Terminal under Launchpad > Other > Terminal, then run the following commands: View Hidden Files in TerminalĪnother way of performing this task is by using the macOS Terminal app, which gives you text-based access to the computer's operating system. Click Library to view the content of the ~/Library folder. However, if you hold down the Option key, there will be a new Library option with no shortcut visible. Click Go to see all the shortcuts for accessing the different folders inside your hard drive. When I want to toggle the viewing of hidden files, I select 'Toggle Hidden Files' from the Finder services submenu as shown below. I created a service using the Automator application. What I offer below differs by a dialog informing you of the current status. You can also quickly access the ~/Library folder from Finder's top menu. See How to set + H to enable show hidden files. This will ensure you don't accidentally change something in the future. (period) to make the folders invisible again. You can also do the same from inside the Documents, Applications, and Desktop folders.Īnything your computer doesn't want you messing with will be grayed out, but you can still take a peek inside. (period) to make the hidden files appear. In Finder, click your hard drive under Locations, then open your Macintosh HD folder. Just remember that there are few reasons to mess around with these files-like relocating program directories or troubleshooting drivers-and if you're looking to clear up some hard drive space, there are other ways of accomplishing that. But that makes editing one of these files extremely difficult if you. You can view these hidden files on a Mac via Finder or through your Mac's Terminal app. By default, Mac OS X 's Finder keeps system files - which generally start with a dot, like.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |