hsiehsh168168 / warc-tools

Automatically exported from code.google.com/p/warc-tools
0 stars 0 forks source link

arc2warc.sh fails when path to ARC files contains 'arc' #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. try giving arc2warc.sh an input directory (-d <directory>) that contains
'arc' - e.g. arc2warc.sh -d /home/crawler/heritrix-1.12.1/jobs/test/arcs/

What is the expected output? What do you see instead?
Should convert arcs to warcs in the same directory as the input files
instead tries to write to non-existing directory:
/home/crawler/heritrix-1.12.1/jobs/test/warcs/
the script substitutes the directoryname instead of the filename !

What version of the product are you using? On what operating system?
latest TRUNK (12. march) - linux RHEL 4.0

Please provide any additional information below.
This bug leads to a feature request. It would be very nice to be able to
specify the output directory (like input directory)

Original issue reported on code.google.com by bjarne.a...@gmail.com on 12 Mar 2008 at 7:19

GoogleCodeExporter commented 8 years ago
Hi Bjarne,

Thanks for reporting. 
Hope that this one will not appear anymore ;-)

cheers
Younès

Original comment by voidptr...@gmail.com on 16 Mar 2008 at 8:55