A script to convert the Apple iBooks library or single books of the iBooks library to the ePub format.
Download or copy the code of the file runiBookMigration.sh
Execute the script as below.
Usage: e.g. bash runiBookMigration.sh $HOME/Desktop/Exportfolder $HOME/Desktop/debug.log
- The folder where the epub files should be exported to has to exist already. Create it before running the script.
This script will read the iTunes books from $STARTFOLDER