Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.
NeoNichu

iPhone bookmark woes

So I thought 'why not sync my bookmarks this time around?', not realizing that this will bring the death-blow to the bookmarks on my iPhone when I do it for the first time. Thankfully, the old bookmarks were lying around as backup in the MobileSync folder and it wasn't that difficult to import them to Safari from there:

1) Remember some URL from your bookmarks and grep for it in ~/Library/Application Support/MobileSync/*/*.mdbackup
2) Copy the matching files to some temporary directory.
3) Download the iphone-backup-decoder from http://code.google.com/p/iphone-backup-decoder/downloads/list
4) Run it on your *.mdbackup files. This won't actually work the first time around, delete the 'Greylisting' key from the now-XMLified plists and run the python script again.
5) Finally a Bookmarks.plist should appear in ./MobileSyncExport/Library/Safari/ - you can import that into your regular Safari and sync it back to your iPhone.

I will probably hack together an automated way to do this in the coming days as it is bound to happen again sometime...

Don't be the product, buy the product!

Schweinderl