Difference between revisions of "Zimdump"
Jump to navigation
Jump to search
(Created page with '<pre> usage: zimDump [options] zimfile options: -F print fileinfo -N ns print info about namespace -i print info about articles -d print data of…') |
|||
(8 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
The '''zimdump''' software, [https://download.openzim.org/ included in libzim], is a console tool allowing to inspect the content of a ZIM file. | |||
<pre> | <pre> | ||
usage: zimDump [options] zimfile | usage: zimDump [options] zimfile | ||
Line 9: | Line 11: | ||
-p print page | -p print page | ||
-f title find article | -f title find article | ||
-u url find article by url | |||
-t sort (and find) articles by title instead of url | |||
-l list articles | -l list articles | ||
-L list articles as table | |||
-o idx locate article by index | -o idx locate article by index | ||
-x print extra parameters | -x print extra parameters | ||
Line 27: | Line 32: | ||
zimDump -o 123159 -l -i wikipedia.zim | zimDump -o 123159 -l -i wikipedia.zim | ||
</pre> | </pre> | ||
=== Requirements === | |||
If you compile the software from source you need the following libraries installed: | |||
* libxz-dev | |||
* autoconf | |||
* automake | |||
* libtool | |||
== See also == | |||
* [[zimwriterdb]] | |||
* [[Git|Source code repository]] | |||
* [[Releases]] | |||
* [[zimdiff]] |
Latest revision as of 09:04, 11 March 2023
The zimdump software, included in libzim, is a console tool allowing to inspect the content of a ZIM file.
usage: zimDump [options] zimfile options: -F print fileinfo -N ns print info about namespace -i print info about articles -d print data of articles -p print page -f title find article -u url find article by url -t sort (and find) articles by title instead of url -l list articles -L list articles as table -o idx locate article by index -x print extra parameters -n ns specify namespace (default 'A') -D dir dump all files into directory -v verbose (print uncompressed length of articles when -i is set) (print namespaces with counts with -F) -Z dump index data examples: zimDump -F wikipedia.zim zimDump -l wikipedia.zim zimDump -f Auto -i wikipedia.zim zimDump -f Auto -d wikipedia.zim zimDump -f Auto -l wikipedia.zim zimDump -f Auto -l -i -v wikipedia.zim zimDump -o 123159 -l -i wikipedia.zim
Requirements
If you compile the software from source you need the following libraries installed:
- libxz-dev
- autoconf
- automake
- libtool