Showing posts with label system files. Show all posts
Showing posts with label system files. Show all posts

Saturday, November 8, 2008

Find any file from terminal

Sometimes you need to find some system file or other that soptlight doesn't find. The solution is to write 2 simple lines in the terminal.

-> Open the Terminal App, inside Aplications - Utilities
-> Type: "sudo /usr/libexec/locate.updatedb" and press Enter. This will update the locate database.
-> Type: "locate '[the-name-of-the-file-or-directory]'" and press Enter.

Thursday, October 23, 2008

Show all/hidden files in the Finder

By default, you can't see many system files, dot files and folders in Finder, you only see them in the Terminal using de ls command.
If you need to see them, do this:

-> Open the Terminal App, inside Aplications - Utilities
-> Type: "defaults write com.apple.Finder AppleShowAllFiles YES" and press Enter
-> Restart the Finder App, press option + alt + esc
-> Select Finder
-> Press Force Quit

To hide again this system files and folders, repeat the process but type "defaults write com.apple.Finder AppleShowAllFiles NO" instead.