|11-14-2007, 12:02 PM||#1|
Join Date: Nov 2007
Device: nokia 770, PRS-500
tips for batch conversion with emacs
Even though I haven't received my prs500 yet, I've spent my time converting books to lrf. I thought I'd share some tips on batch conversion as the linux version of the gui doesn't support batches yet.
Start emacs, do 'ctrl-x d' '/path/to/files' to run dired. When in directory do '%-m' 'lit$' or 'txt$' or any combination. You can also just move on top of the file and press 'm'. Then press 'alt-!' and type in 'any2lrf ?' the ? is replaced with an invididual filename from the list of selected files. Let it crunch away and you'll have a directory full of goodness.
For pdf files and pdflrflinux-0.99 it's slightly more complicated. Enter dired and select pdf files (with %-m 'pdf$'), then alt-! and the following line: ' for file in * ; do pdflrflinux-0.99 -i "$file" -o "$file".lrf ; done '
This creates files with the lrf added to the end like filename.pdf.lrf which is a bit ugly, but atleast it works.
Hope this helps atleast someone.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|PDF to prc/azw Batch Conversion||xsolitudex||2||09-04-2010 10:19 AM|
|pdftohtml Batch Conversion||kad032000||Sony Reader||8||06-27-2008 09:50 AM|
|Batch conversion html to lrf||lilpretender||Sony Reader||5||04-22-2008 09:22 PM|
|how to do batch conversion with libprs||mazzeltjes||Calibre||8||02-12-2008 09:24 AM|
|Batch conversion of txt||BlackVoid||Sony Reader||8||11-17-2007 09:53 PM|