
: Re: Command line extraction of metadata (title. author) from epub file I would like to use a command line to extract the title of a book (possibly also other metadata) from its epub file and return
Expounding on @pheon 's answer, I created this shell script
#!/bin/bash
exiftool="/usr/local/bin/exiftool"
filename=$(basename "")
extension="${filename##*.}"
filename="${filename%.*}"
directory=$(dirname "")
newfilename=`${exiftool} -T -Title `
echo mv "" "${directory}/${newfilename}.${extension}"
mv "" "${directory}/${newfilename}.${extension}"
Just run the script, passing the pub filename and it will rename it in-place to be the title of the eBook. Note that it is likely there will be spaces in the filename.
Free books android app tbrJar TBR JAR Read Free books online gutenberg
More posts by @Kelli

: How to sync mp3 audiobook to mobi ebook on Kindle for Android? I installed Kindle for Android in my phone. I have ebook in mobi format and mp3. The mp3 is an audiobook for the ebook. I have

: Kindle paperwhite and sharing quotes with goodreads for side-loaded books I want to post quotes from my kindle paperwhite to goodreads but share button always disabled. I tuned progress posting