-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: package_ibooks_epub: assign source/dest via args, add README
- Loading branch information
1 parent
cf5af78
commit 6186ee0
Showing
2 changed files
with
32 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
## 打包 iBooks 中的 epub 图书文件 | ||
|
||
一个用于重新打包 iBooks 中的 epub 图书文件的工具。 | ||
|
||
场景: | ||
epub 图书在导入到 iBooks 之后,会被解压并添加 plist 文件。 | ||
如果使用 calibre 导入 iBooks 中的 epub 文件夹,会显示为文件夹而无法导入。 | ||
使用此工具能够将 iBooks 中的 epub 文件夹重新打包为可被 calibre 读取的 epub 文件。 | ||
|
||
用法: | ||
|
||
```bash | ||
./package_ibooks_epub <存储了 iBooks 图书文件的目录> <重新打包后保存的目录> | ||
# 比如下面的指令能将 iBooks 书库中的图书重新打包并保存到“下载”目录中 | ||
./package_ibooks_epub /Users/${USER}/Library/Mobile\ Documents/iCloud\~com\~apple\~iBooks/Documents/ /Users/${USER}/Downloads | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters