Re: Batch convert ebooks qustion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



That's exactly what I was looking for, thankk!

On 12/05/2021 13:39, Linux for blind general discussion wrote:
Hi,
First put all the epubs in a directory.
Then cd into that directory.
Then run detox. This is to remove spaces and other nasties from the filenames.
Install the detox package if required, then do
detox *
in the epub directory.
then do:
for i in $(ls *epub);do
textname=`basename $i .epub`
ebook-convert $i "$textname".txt
done
HTH, Willem

On Wed, 12 May 2021, Linux for blind general discussion wrote:

So, I've a fun question. I bought a box set of ebooks that got delivered in .epub format. I'd like to convert them to .txt, the ebooks are DRM free, but I don't want to go through one at a time. So...

Can I use ebook-convert, I can't do ebook-convert *.epub *.txt


So how can I tell ebook-convert to take all the files of a certain type and convert to my desired output type?

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list



_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list


_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list




[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]