这可能是最麻烦的方法来做这件事。
关闭你的iBooks应用,直到最后不要打开它!
将你的.epub文件解压到一个同名的文件夹中。
如果文件名是book1.epub,提取的内容应该在book1.epub文件夹中。
在Ubuntu文件浏览器中打开你的iDevice。
导航到Books/Purchases,将提取的文件夹复制到这里。
在文本编辑器中打开purchases.plist文件。它是一个xml文件。
它应该看起来像这样
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Books</key>
<array>
<dict>
<key>Artist</key>
<string>Chuck</string>
<key>Inserted-By-iBooks</key>
<true/>
<key>Name</key>
<string>Fight Club</string>
<key>Package Hash</key>
<string>6744918BA88D5BF234A2B663F3A311E2</string>
<key>Page Progression Direction</key>
<string>default</string>
<key>Path</key>
<string>Fight Club_ a novel - Chuck Palahniuk.epub</string>
<key>s</key>
<string>0</string>
</dict>
<dict>
<key>Artist</key>
<string>George Orwell</string>
<key>Inserted-By-iBooks</key>
<true/>
<key>Name</key>
<string>The Complete Novels Of George Orwell</string>
<key>Package Hash</key>
<string>6744918BA88D5BF234A2B663F3A311E1</string>
<key>Page Progression Direction</key>
<string>default</string>
<key>Path</key>
<string>Complete Novels Of George Orwell, The - George Orwell.epub</string>
<key>s</key>
<string>0</string>
</dict>
</array>
</dict>
</plist>
复制位于
<dict>...</dict>
标签之间的部分,并填写书籍的元数据。
对于哈希值,只需更改最后两个字符,以避免重复其他条目。保存文件并打开iBooks应用程序。