2010-02-03

如何將兩部電腦的contact / media sync 到iPhone

問題: 如果你想將電腦A (eg.家用電腦) 的media (mp3) sync到iPhone, 同時又想sync電腦B (eg.office) 的calendar, contacts及不想iTunes強制剷掉裡面的media, 要怎做?

Helpful guide is from: Shiny Things: How to sync an iPhone with two (or more) Computers

Backup Your Library

On the machine you want to sync with, backup "iTunes Music Library.xml" and "iTunes Music Library" (Tunes Music Library.itl on PC) to a safe location. These are the files you will be modifying.

1) Find your iTunes Library ID

On the machine your iPhone currently syncs with, open "iTunes Music Library.xml" with a text editor and find the entry between the tags, after "Library Persistent ID". In the example below this is 8B6C633F7DACB74B. Copy this entry exactly to a piece of paper, email, temporary file etc. You can then close this file.

sync_notepad

2) Change your Library ID

iTunes stores your library information in two places. An XML file and a binary file. You now need to change the ID in both so they match your other library.

Make sure iTunes is not running.

On the machine you want to sync with open "iTunes Music Library.xml" in a text editor. Again, find the entry between the tags after "Library Persistent ID" and copy this entry exactly. This time you can use the clipboard if you wish.

When you have a copy, replace this entry with the one you copied in part 1. Make sure you do not change anything else, and the length of the entry is 16 characters/digits. Save this file and close it.

windowslivewriterhowtosynca

In the Hex Editor, open "iTunes Music Library" (Tunes Music Library.itl on PC).

Select "Find and Replace" from the Edit menu. Make sure "Hex" matching is selected (not ASCII). In "Find" enter the ID you took a note of in Part 1. In Replace, enter the ID you copied at the start of Part 2. Choose Replace All, there should be one match.

Save this file and close it.

sync_hex

Success!

Start iTunes on the machine you wish to sync with and plug in your iPhone. When you select "Manually manage music and videos" you will no longer be prompted to erase your data, nor will the files on your iPhone be grayed out.



Best Blogger Tips

No comments: