pombreda / fits

Automatically exported from code.google.com/p/fits
GNU Lesser General Public License v3.0
0 stars 0 forks source link

is it possible to have multiple output directories when FITS is run recursively? #35

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

When running FITS recursively (with -r option) in a directory, all of the 
output files are generated in the same directory. Is it possible to generate 
them into multiple directories, so the fits.xml files are in the same directory 
as the target files? 

That is, I would like a result like:
/home/user/documents:
doc1.txt
doc1.txt.fits.xml

/home/user/documents/new:
doc2.txt
doc2.txt.fits.xml

INSTEAD, the result is (when the output directory is the same as the target 
directory):
/home/user/documents:
doc1.txt
doc1.txt.fits.xml
doc2.txt.fits.xml

/home/user/documents/new:
doc2.txt

If I remove the output directory or the -o option I get the following error: 
Exception in thread "main" edu.harvard.hul.ois.fits.exceptions.FitsException: 
When FITS is run in directory processing mode the output location must be a 
directory

It takes an eternity to run FITS separately on each directory in order to have 
the output files next to the files they refer to.  Please help!  I am using 
FITS 0.6.2 in Linux environment. 

Original issue reported on code.google.com by alagna.l...@gmail.com on 15 Aug 2013 at 3:00