Mercurial > repos > bgruening > sqlite_merger
comparison sqlite_merger.xml @ 0:4e95f3a9ff1b draft
Uploaded
| author | bgruening |
|---|---|
| date | Mon, 11 Aug 2014 17:27:37 -0400 |
| parents | |
| children | 101c76d0e9c1 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:4e95f3a9ff1b |
|---|---|
| 1 <tool id="sqlite_merger" name="Merge SQLite" version="0.0.1"> | |
| 2 <description>databases</description> | |
| 3 <requirements> | |
| 4 <requirement type="package" version="3.8.3">sqlite</requirement> | |
| 5 </requirements>sqlite3 --version | awk '{print $1;}'</version_command> | |
| 6 <command> | |
| 7 <![CDATA[ | |
| 8 #for $inputfile in $inputfiles: | |
| 9 sqlite3 $inputfile .dump >> dump; | |
| 10 #end for | |
| 11 sqlite3 $outfile < dump | |
| 12 ]]> | |
| 13 </command> | |
| 14 <stdio> | |
| 15 <exit_code range="1:" /> | |
| 16 <exit_code range=":-1" /> | |
| 17 <regex match="Error:" /> | |
| 18 <regex match="Exception:" /> | |
| 19 </stdio> | |
| 20 <inputs> | |
| 21 <repeat name="inputfiles" title="SQLite databases" min="2"> | |
| 22 <param name="infile" type="data" format="sqlite" label="GEMINI database" /> | |
| 23 </repeat> | |
| 24 </inputs> | |
| 25 <outputs> | |
| 26 <data name="outfile" format="sqlite" label="${tool.name} on ${on_string}" /> | |
| 27 </outputs> | |
| 28 <tests> | |
| 29 <test> | |
| 30 </test> | |
| 31 </tests> | |
| 32 <help> | |
| 33 | |
| 34 **What it does** | |
| 35 | |
| 36 This tool merges several SQLite databases into one. | |
| 37 | |
| 38 http://www.sqlite.org/ | |
| 39 | |
| 40 </help> | |
| 41 </tool> |
