import: Add --list-files option
commit70a1dee788ceec724e10bd46da49b91db2692986
authorAndreas Ericsson <ae@op5.se>
Tue, 31 Aug 2010 14:30:47 +0000 (31 16:30 +0200)
committerAndreas Ericsson <ae@op5.se>
Tue, 31 Aug 2010 14:30:47 +0000 (31 16:30 +0200)
treee108b3fc6ed97959c821e8357b31a2d6c1a1c2d2
parent4150e87d14fc5745780c1090f7d55547c5f66007
import: Add --list-files option

This option lists the files that would have been imported had we run
the import program properly, without actually importing anything.

The idea is to use it to make log-importing and repairing of failed
log imports to be a lot easier, allowing a command such as this:
  ./import --list-files --no-sql --incremental=$since
to be used to find the logfiles that need to be imported.

Signed-off-by: Andreas Ericsson <ae@op5.se>
import.c