find files in hidden folders?

Joined
Jun 1, 2005
Messages
1
Reaction score
0
Automator deleted my Documents folder during a "Copy Finder Items". Got the suggestion that the folder was somehow renamed with a "."(hidden). I'm not too good in the BSD world, so I'm not sure how to search for files in hidden folders in the terminal window. I tried "find / -name "*ltu*.*" , no luck though. (one file was named ltu.cls). Does that search through hidden folders?
 

Ric

Joined
May 14, 2004
Messages
4,245
Reaction score
5
If you would like to view hidden OS X files you can edit the com.apple.Finder.plist (preference list), this will allow you to see and find all hidden folders and directories/folders.

Here's how:

Type this into a new Terminal window:

defaults write com.apple.finder AppleShowAllFiles -bool YES

(you can of course copy and paste that line into terminal, saves typing!)

Restart the Finder. (Logging out/in is an easy way to do this.)

The files should now be visible in the Finder.

To reverse it, insert the string above again, but change YES to NO.

That's it you should now be able to search for your files...

Regards

Ric
 

Ric

Joined
May 14, 2004
Messages
4,245
Reaction score
5
Should have also said, be very carefull don't move any files that you don't know what they are etc. or you will end up having to reinstall the OS.

Please use with caution.
 

Ric

Joined
May 14, 2004
Messages
4,245
Reaction score
5
Also Tinker tool will unhide folders/files for you...link is on the blog page !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top