コマンドラインでiPhoneを同期化する方法

| | コメント(0) | トラックバック(0)
あまりニーズはないかもしれないが少なくとも私にとっては便利そう。

http://www.tuaw.com/2008/01/16/terminal-tip-syncing-your-iphone-or-ipod-touch-from-the-command/


Terminal Tip: Syncing your iPhone or iPod touch from the command line

This is one of those completely useless but cool things that one figures out when one is spending far too much time trying to do something else and not accomplishing it. In my case, I'm trying to figure out how to force an iPod touch or iPhone to load a backup set. (Do you know? Let me know in the comments!) What I accomplished though was figuring out how to sync the unit with a simple command-line utility. Here's how.

Launch System Profiler. Choose Apple > About This Mac > More Info.

Identify your iPod In System Profiler, go to Hardware > USB and locate the iPod or iPhone you're using. Look up the Manufacturer ID (0x05ac (Apple Computer, Inc.) and Product ID (0x1291 for my iPod touch)

Launch Terminal. This requires shell access.

Find the utility. Change directories to /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/Resources/.

Run reenumerate Give it one argument: the vendor id followed by a comma followed by the product id, e.g. ./reenumerate 0x05ac,0x1291

Wait. iTunes will reload your iPod or iPhone and sync it.

カテゴリ

トラックバック(0)

このブログ記事を参照しているブログ一覧: コマンドラインでiPhoneを同期化する方法

このブログ記事に対するトラックバックURL: http://www.junoura.com/mt/mt-tb.cgi/1060

コメントする


画像の中に見える文字を入力してください。

このブログ記事について

このページは、Jun Ouraが2008年1月19日 15:12に書いたブログ記事です。

ひとつ前のブログ記事は「kiss」です。

次のブログ記事は「iPhoneを1.1.3から1.1.2に戻す方法」です。

最近のコンテンツはインデックスページで見られます。過去に書かれたものはアーカイブのページで見られます。

Powered by Movable Type 4.01