Jump to content

Apple Mail Files in Lion (hidden Library folder)


  • Please log in to reply
4 replies to this topic

#1
webplus

webplus

    InsanelyMac Protégé

  • Members
  • Pip
  • 40 posts
I have several macs and always copy my Apple Mail files from my main computer to copy onto others (simply copy the entire 'Mail' folder found in /Users/yourusername/Library and also the file named 'com.apple.mail.plist' inside the folder named 'Preferences' and then replace with those in the other macs).

However, when I tried to copy the Mail folder into my Lion (DP3) installation, the Library folder was nowhere to be seen. For some reason this has become a hidden folder in Lion. So to see the folder to copy Mail into it, simply do the following.

Open Terminal, type this command, and press Enter:

defaults write com.apple.Finder AppleShowAllFiles YES

To hide hidden files simply replace YES with NO.

To make the command take effect, you need to restart the Finder. One way to do this is to hold down the Option (alt) key, then click and hold on the Finder icon in the Dock. When the contextual menu appears, select Relaunch and the Finder will restart.

When it does, you'll find that you can now see every single file and folder on your Mac.

#2
ifrit05

ifrit05

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 509 posts
  • Gender:Male
  • Location:Wyandotte, MI
Thanks for the info. Although I'm sure most people know about that command (I know it by heart). :happymac:

#3
ntsmkfob

ntsmkfob

    InsanelyMac Geek

  • Donators
  • 233 posts
There's a little app called ShowAllFiles that toggles the setting for you.

#4
digital_dreamer

digital_dreamer

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,100 posts
  • Gender:Male
  • Location:Missouri USA
No need to enable hidden files.
Just use the Finder's "Go to Folder..." in the "Go" menu and enter "~/Library"

MAJ

#5
Dradis

Dradis

    InsanelyMac Protégé

  • Members
  • PipPip
  • 66 posts

To make the command take effect, you need to restart the Finder. One way to do this is to hold down the Option (alt) key, then click and hold on the Finder icon in the Dock. When the contextual menu appears, select Relaunch and the Finder will restart.


While still in the terminal you can type "killall Finder". I find it to be easier since you're already typing.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy