![]() |
#136 | ||
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,861
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#137 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,683
Karma: 5703586
Join Date: Nov 2009
Device: many
|
The 64 bit version works just fine for me on Monterey. No problems at all once permissions are given.
|
![]() |
![]() |
Advert | |
|
![]() |
#138 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jan 2023
Device: Ibooks
|
Hi,
This app isn't working for me. I've Macos Ventura. Basically it doensn't do anything when dragging a book from ibooks. Any idea? |
![]() |
![]() |
![]() |
#139 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,683
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Works for me. Did you read this post written by its author and perform those steps?
https://www.mobileread.com/forums/sh...&postcount=130 |
![]() |
![]() |
![]() |
#140 |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,847
Karma: 315126578
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
added the info to the first post.
|
![]() |
![]() |
Advert | |
|
![]() |
#141 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 312
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
I’m admittedly a little fuzzy on this, but aren’t ebooks dragged from Books not the actual epub, but rather some sort of package that happens to have the exact filename as the epub?
Edit: Yes, just confirmed that an "epub" dragged from Books to Desktop is a package that you can navigate into using Terminal, and what's inside is essentially already an unzipped epub. So likely the application doesn't know what to do with it, since it's not an actual zipped epub. Last edited by phillipgessert; 01-16-2023 at 12:07 PM. |
![]() |
![]() |
![]() |
#142 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jan 2023
Device: Ibooks
|
Quote:
I've started with this steps, but nothing... Should I drag it directly from iBooks or for Finder first? If I drag it directly it only save on Finder... If I save in Finder and afterwards drag it in the app it asks me if I want to replace and then returns the following error: "sh: line 0: cd: /Users/bruno/Downloads/Ponha o Seu Dinheiro a Trabalhar para Si.epub/: No such file or directory" If I add the book to calibre continues to return errors... Thanks for the help. |
|
![]() |
![]() |
![]() |
#143 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,683
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Move this App to your Desktop first. Then once there, double click on it to set permissions to use.
If you then drag an unzipped epub folder from your Desktop to it, it will create the zipped up epub on the Desktop. As for iBooks, if these are purchased books from the Apple store they will have DRM and can not be edited or viewed in calibre or anyplace else. |
![]() |
![]() |
![]() |
#144 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jan 2023
Device: Ibooks
|
Quote:
Ok! Thanks. I thought it was possible to do it in purchased ebook in Apple. I will try other solution then... |
|
![]() |
![]() |
![]() |
#145 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,683
Karma: 5703586
Join Date: Nov 2009
Device: many
|
You can zip up a iBooks epub folder even for drm books with this App, You can store/manage that book in your calibre database. You just will not be able to edit or view the book in any other ereader than Books due to the drm.
|
![]() |
![]() |
![]() |
#146 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Mar 2023
Device: iPad
|
On iPadOS 16 Apple's "Books" app is a somewhat... suboptimal?... experience.
I have decided to get all of my books out of it, which of couse means I wasn't keen to drag-'n-drop more than a thousand times. So I have taken pdurrant's Apple script and extracted the commands into the following Shell Script, which I called ePubFolder2File and saved into my path: Code:
#!/usr/bin/env bash main_loop() { opts=':'; while getopts ${opts} opt; do case "${opt}" in [?]|*) echo "usage: $(basename "$0") EPUB_FOLDER" >&2 exit 1; ;; esac done shift $((OPTIND - 1)); while [[ "$1" != "" ]]; do build_epub "${1}" shift; done } build_epub () { local source_folder="$1" local dest_file local current_dir=$(pwd) dest_file="$(basename "${source_folder%.epub}").epub" if [[ $(dirname "${source_folder}") == "." ]] && [[ "${source_folder}" != "${source_folder%.epub}" ]]; then source_folder="${source_folder%.epub}" mv "${source_folder}.epub" "${source_folder}" fi cd "${source_folder}" || exit 1 zip --quiet -X0 "${current_dir}/${dest_file}" mimetype zip --quiet -rDX9 "${current_dir}/${dest_file}" * -x "*.DS_Store" -x mimetype } main_loop "$@" Code:
$ find "/Users/eroux/Library/Mobile Documents/iCloud~com~apple~iBooks/Documents" -type d -name \*.epub | while read epubdir; do if [[ ! -f $(basename "$epubdir") ]]; then echo "Processing $(basename $epubdir)"; ePubFolder2File "$epubdir"; fi; done |
![]() |
![]() |
![]() |
#147 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2024
Device: None
|
![]() |
![]() |
![]() |
![]() |
#148 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,683
Karma: 5703586
Join Date: Nov 2009
Device: many
|
It is an AppleScript and therefore interpreted. It should not need Rosetta2 emulation. Maybe something "compiles" or "jit compiled" it somehow. If so just run from the original script.
|
![]() |
![]() |
![]() |
#149 |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,847
Karma: 315126578
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
You extract the AppleScript just by opening the application with the Script Editor application, which should be somewhere in your Applications folder, possibly inside a Utilities folder.
|
![]() |
![]() |
![]() |
#150 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2024
Device: None
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Applescript Wrapper Application for Kindlegen | pdurrant | Kindle Formats | 50 | 02-18-2020 01:16 AM |
How to unzip a Calibre ZIP file on a Mac? | webfolk | Calibre | 15 | 06-03-2012 06:01 PM |
Useful Applescript for Mac OS X users | pdurrant | Kindle Formats | 11 | 07-23-2011 05:00 AM |
Mobiperl mobi2html changesetR84.zip won't unzip | cyberbaffled | Kindle Formats | 0 | 06-15-2010 10:25 PM |
Mac OS X lit2rtf AppleScript thingy | FourOhFour | Sony Reader | 11 | 08-11-2007 12:02 AM |