April 23, 2024, 09:38:31 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Read thru subdirectories and move files to a directory

Started by billhsln, August 03, 2012, 08:55:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

billhsln

Here is a little program I came up with to Select a Starting Directory (sdir) and an Output Directory (odir).  You can change the extension to look for, I automatically add the period, my default is I am looking for files with the extension of .epub.  I use a program called 'Calibre - E-book management' to convert from .mobi to .epub.  The problem is that it saves them under multiple directories, when doing multiple books.  So my program scans thru the sdir and finds .epub and then moves them to odir.

Hopefully some one can find a use for this.

Bill
When all else fails, get a bigger hammer.