getting Finder to show my Unix files whose names begin with a dot

Can I tell Finder to show my Unix files whose names begin with a dot, e.g., .login, so I can back them up? If so, how is this done?

Mac Pro, Mac OS X (10.5.2), 2 x 3.2GHz Intel Xeon Quad-Core, 32 GB 800 MHz DDR2 FB-DIMM, Canon PIXMA MP460

Posted on May 4, 2008 12:20 PM

Reply
7 replies

May 4, 2008 3:50 PM in response to Ronald Szabo

I am not comfortable with the two statements listed in the linked-to article:

defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder

What are these two statements doing?

What I really meant was is there a switch or preference in Finder which I can temporarily set on to tell it to list files whose names begin with a dot (so I can back them up), and then turn off, so that my system returns to the default of not showing files whose names begin with a dot?

May 4, 2008 4:23 PM in response to bubbalouie

the first one changes the Finder preference file to show hidden files in Finder. The second one restarts Finder. If you are afraid of using a command which has the word "kill" in it, option-click on Finder in the dock and choose "relaunch". That accomplishes the same thing. There is no GUI way to do what you want. The first command is the only way.

There are some 3rd party tools that reveal hidden files (I seem to recall that Onyx is one) but all they do is provide a graphical user interface for that command.

May 4, 2008 4:51 PM in response to bubbalouie

You can turn it off again by running:
defaults delete com.apple.Finder AppleShowAllFiles
killall Finder


What that will do is remove (delete) the preference entry that tells finder to show all files, and then relaunch the Finder. As V.K. said, you can option-click Finder in the dock and select "Relaunch" if you are nervous about typing a command with 'kill' in it-even though they both do the same thing.

Good luck!

May 4, 2008 7:04 PM in response to bubbalouie

A "user friendly" freeware program that can do this and lots more is TinkerTool, available [HERE|http://www.bresink.de/osx/TinkerTool.html].

But if you are doing this to "back up" your entire OS, you probably won't succeed by using the Finder, even if you make these system files visible. In order to back up "everything" you need "clone" software such as Carbon Copy Cloner or SuperDuper, or even disk utility.

May 5, 2008 3:27 PM in response to joshz

So, now I can tell Finder to list Unix files whose names begin with a dot, e.g., .login, .logout, .tcshrc, etc. However, when I select (i.e., highlight) them, either one-at-time or as a group (via the "command" key), and then single right-click a highlighted item, the drop-down list does not give me a copy option (which it does do with files whose names do not begin with a dot). This is obviously !@#$%^&*()_+-= MAC-OS-X/Darwin/Unix telling me that I should not be able to copy "hidden" files. But the only reason I care about getting Finder to list files whose names begin with a dot (specifically, the ones I've already mentioned) is so that I can make back-up copies of them whenever I change them. Is there any non-kludgey way to force !@#$%^&*()_+-= MAC-OS-X/Darwin/Unix to copy files whose names begin with a dot? Or, do I have to resort to some !@#$%^&*()_+-= kludge such as copying .login to a file named dot_login, and then backing-up dot_login? Unbelievable!!!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

getting Finder to show my Unix files whose names begin with a dot

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.