Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 02-11-2015, 11:54 AM   #1
mcdev
Junior Member
mcdev began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2015
Device: Kindle Paperwhite
How to achieve convert>email>delete' workflow?

Hi all. I'm trying to achieve the following automation - any tips or suggestions? 3 & 4 are the 'broken' steps.
  1. Add a file to Dropbox (as a shared folder that is watched by Calibre) - working
  2. Convert to mobi - working
  3. Remove orginal format - not working yet
  4. Email using existing Calibre email setup - email works manually, would like to autosend on successful conversion

The goal is to save a book via my computer/tablet/phone/whatever, have my home Calibre computer see it, convert it, then email it to my Kindle.

Thanks in advance for any help!
mcdev is offline   Reply With Quote
Old 02-11-2015, 11:59 AM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Use the CLI.

ebook-convert on input format, followed by bog-standard rm operation, then calibre-smtp to email books.

You do not need to save in calibre, but you can with calibredb.
eschwartz is offline   Reply With Quote
Old 02-11-2015, 04:08 PM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,572
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by eschwartz View Post
Use the CLI.

ebook-convert on input format, followed by bog-standard rm operation, then calibre-smtp to email books.

You do not need to save in calibre, but you can with calibredb.
but you may need to get something to replace the watch on the Dropbox folder that the calibre GUI provides via its Autoadd feature.

I don't think there's an anything in calibre's cli program set to do that. A search for something like "watch for file system changes on XXXXXX", where XXXXXX is your OS should find something suitable. Such things can typically detect an event (eg an epub was added to a folder) and run a user provided script.

BR
BetterRed is offline   Reply With Quote
Old 02-13-2015, 01:36 PM   #4
mcdev
Junior Member
mcdev began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2015
Device: Kindle Paperwhite
Quote:
Originally Posted by BetterRed View Post
but you may need to get something to replace the watch on the Dropbox folder that the calibre GUI provides via its Autoadd feature.

I don't think there's an anything in calibre's cli program set to do that. A search for something like "watch for file system changes on XXXXXX", where XXXXXX is your OS should find something suitable. Such things can typically detect an event (eg an epub was added to a folder) and run a user provided script.

BR
I'm on a Mac, so i could use Automator - I'll post my results or scripts if I get things working. Thanks.
mcdev is offline   Reply With Quote
Old 02-13-2015, 04:04 PM   #5
signum
Zealot
signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.
 
Posts: 119
Karma: 64428
Join Date: Aug 2011
Device: none
On Linux, you just drop a line in /etc/crontab that, at whatever regular interval (minutes to hours to days) you specify, will invoke a script that will poll Dropbox.
signum is offline   Reply With Quote
Old 02-13-2015, 04:24 PM   #6
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,572
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by mcdev View Post
I'm on a Mac, so i could use Automator - I'll post my results or scripts if I get things working. Thanks.
@mcdev - Ideal - IIRC Automator has a folder action feature you can use to detect the arrival of epub in the DropBox folder.

FYI ==>> calibre - Command Line Interface

BR
BetterRed is offline   Reply With Quote
Reply

Tags
auto add, conversion, delete format, dropbox, email


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Send book to reader/email and delete the converted? j0s3f Calibre 0 12-24-2012 08:35 PM
Delete email option on reinstall freddie Devices 2 07-25-2011 03:04 AM
Calibre won't email books (but email and delete works) roofone Calibre 3 04-09-2011 06:51 PM
Delete Email Account veronica0406 enTourage Archive 2 11-24-2010 03:29 AM
Opinion on workflow (and enhancing it) - research-type workflow TheDarkTrumpet Which one should I buy? 8 03-02-2009 10:41 AM


All times are GMT -4. The time now is 10:54 AM.


MobileRead.com is a privately owned, operated and funded community.