Menu

Offline import through import script deletes xml file

Anonymous
2013-08-09
2013-08-19
  • Anonymous

    Anonymous - 2013-08-09

    I imported enwiki offline and manually extracted the dump. What I realised is this that when import finished xowa deleted the xml file. I have noticed that in an offline import xowa does not delete the compressed dump, so likewise xowa should not delete the extracted xml file too if the import is from a local file in offline mode.

    hidp123

     
  • gnosygnu

    gnosygnu - 2013-08-10

    Thanks for the report.

    FYI: The .bz2 file is not deleted b/c it is smaller compared to the .xml file. In addition, the .xml file serves no other purpose outside the import. If it is needed, then it can be unzipped again from the .bz2.

    Let me know if you have a specific reason for keeping the .xml file around. If so, I can add an option to the import called "Delete .xml file after import" and default this to checked. However I can't think of any reason why anyone would want this unchecked, so I'm reluctant to put this in...

     
  • gnosygnu

    gnosygnu - 2013-08-19

    I added an option to v0.8.2 to not automatically delete the xml file. It is at [[Help:Options/Import]]

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB