View Single Post
Old 07-28-2010, 07:21 PM   #3
banjomike
Addict
banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.
 
banjomike's Avatar
 
Posts: 319
Karma: 397404
Join Date: Aug 2009
Location: UK
Device: PRS-505,DSlibris,nook Glow & HD+,Tab S2,Moon+,Clara,Clara Colour
Quote:
Originally Posted by kovidgoyal View Post
If you're getting temp files left over, your calibre command is crashing, you should investigate and fix that rather than messing around with gaziliions of temp files.

Or if you dont want to do that, then simply set the TEMP environment variable and cleanup after the command exits each time.
I only use the GUI version and also get temp files left in my TEMP folder after every Calibre session or after using the viewer. Typically 2 for each run of the viewer and 40 or so after a short session of adding/converting books. They add-up. The first time I noticed there were over 500 files and folders.

The worst case was a PDF to EPUB conversion which left 34000 image files.

Is there a way to specify a working folder for Calibre rather than just use the TEMP (or TMP) variable which is where every other program dumps files?

Using XP/SP3, Calibre 7.10
banjomike is offline   Reply With Quote