Sunday, January 27, 2013

Where is the Backup Location of iDevice in Mac


in Mac OS X your iPhone files are backed up at the following location:
~/Library/Application Support/MobileSync/Backup/
The (~) symbol signifies your home directory, which is the same place all your other personal documents are stored.


Phone Backup Location for Windows 7, XP, and Vista
Windows XP stores all of your iPhone backup files in this location:
C:\Documents and Settings\user\Application Data\Apple Computer\MobileSync\Backup
Windows Vista and Windows 7 backs up the iPhone files to here:
C:\Users\user\AppData\Roaming\Apple Computer\MobileSync\Backup
Obviously if your main drive is not C: then you’ll have to change that, same goes for ‘user’

How Show Hidden Files in Mac


Launch the Terminal and enter these commands exactly as shown. The first command activates the ability to see the hidden files:
defaults write com.apple.Finder AppleShowAllFiles TRUE
Now you must relaunch the Finder by killing it, this is how the changes take effect:
killall Finder
If you want to hide hidden files again (those preceded with a .) and go back to the default Mac settings, you can just type the following:
defaults write com.apple.Finder AppleShowAllFiles FALSE
Again you will need to kill the Finder so that it can relaunch for changes to take effect:
killall Finder

Saturday, January 26, 2013

Save Settings and Preferences of CyberDuck


Where are preferences and application settings saved to
Mac OS X
In ~/Library/Preferences/ch.sudo.cyberduck.plist. Bookmarks, History and Workspace information is saved in ~/Library/Application Support/Cyberduck/.
Windows
  • Windows 7. C:\Users\[username]\AppData\Roaming\Cyberduck
  • Windows Vista. C:\Users\[username]\AppData\Roaming\Cyberduck
  • Windows XP: C:\Documents and Settings\[username]\Local Settings\Application Data\Cyberduck
Preferences are stored relative to the folders above in Cyberduck.exe_Url_[id]\[version]\user.config.

Backup Saved Severs in CoRD app


If you need to back up your Saved Servers, to take to another machine, etc., you can find them in:
~/Library/Application Support/CoRD/Servers/
They will be saved individually as .RDP files, and are interoperable with Microsoft's Remote Desktop Client, on both Macs and PCs.
Alternatively if you want a faster way to get there, you can right click (control click) on any server in your list, and click "Show in Finder," or use the options under the Servers menu item.

Import & Export Bookmark Browsers


Safari

Import bookmarks into Safari

  1. Open Safari if it is not already open.
  2. Choose File > Import Bookmarks.
  3. Browse to find the file that contains the bookmarks you want to import, and then click Import (on Windows computers, click Open). Normally the file has “.html” or “.plist” at the end of its name.

Export bookmarks from Safari

  1. Open Safari if it is not already open.
  2. Choose File > Export Bookmarks.
  3. Specify a location for the exported file. The file’s name is “Safari bookmarks.html.” Most browsers are able to import this type of file.

Chrome

  1. Click the Chrome menu Chrome menuon the browser toolbar /bookmark in the menu.
  2. Select Bookmark manager.
  3. Click the Organize menu in the manager.
  4. Select Export bookmarks to HTML File.

Firefox

  1. Click on the "Bookmarks" menu and select "Manage Bookmarks..." In case of Firefox 3.6.2 select "Organize Bookmarks..."/ "unsorted Bookmarks"
  2. Click on the "Backup" in the prompt up "Library window. / Export to HTML.
  3. Give your bookmarks whatever title you like and choose a location to save them in the save window that comes up.

Wednesday, January 23, 2013

Re-buid my iMac


I have my iMac for 4 years and have updated from Leopard --> Snow Leopard --> Lion --> Mountain Lion. 

I , finally, feel that he is not that responsive ...... so I decide to re-install the Mountain Lion from sketch.... as I  hear that the re-install of the OS would result to be massively fast.


Will tell the result after that ........


And write down some tips or experiences of this operation.


First.... it will be how to make the bootable USB drive. :D

Tuesday, August 21, 2012

Compare two folders' contents in Terminal

You should have the need of comparing two folders in Mac.

Here is a free way to do it:

It just requires a quick trip to Terminal to put it to use. The program is called diff, and it’s quite simple to use.

Launch "Terminal" and run the following command:

diff -rq folder1 folder2


It is better to have FULL PATH of those folders. If you get use to Linux/UNIX, you will understand what I said.

This is a pretty simple command, with two command-line switches (-rq). The r tells diff to look at each directory recursively, including subdirectories. The q switch sets diff brief mode. If we didn’t set brief mode, diff would not only tell you which files are different between the two folders, but also show the actual line-by-line differences for any text files that exist in both locations but are not identical. Given that we’re just interested in comparing the folders’ contents, we don’t need that level of detail, so we’ll use brief mode to suppress it. And that’s all there is to it. Here’s how it looks in action:

$ cd phpcode
$ diff -rq comments_new comments_old
Only in comments_new: config.php
Only in comments_old: config_old.php
Only in comments_old: functions.inc

By the way, you can download a program here
http://www.macupdate.com/app/mac/25426/diffmerge