mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2026-04-17 23:33:57 +01:00
fixup! fixup! fixup! Recursively scan directories for ZIM files
This commit is contained in:
@@ -39,6 +39,8 @@ be provided as a semicolon (``;``) separated list.
|
||||
|
||||
``ZIM_FILE_PATH``: ZIM file path (multiple arguments are allowed).
|
||||
|
||||
``DIRECTORY_PATH``: Directory path containing ZIM files (multiple arguments are allowed).
|
||||
|
||||
Options
|
||||
-------
|
||||
|
||||
|
||||
@@ -8,6 +8,10 @@ kiwix-serve \- Kiwix HTTP Server
|
||||
.B kiwix-serve --library [OPTIONS] LIBRARY_FILE_PATH
|
||||
.br
|
||||
.B kiwix-serve [OPTIONS] ZIM_FILE_PATH ...
|
||||
.br
|
||||
.B kiwix-serve [OPTIONS] DIRECTORY_PATH ...
|
||||
.br
|
||||
.B kiwix-serve [OPTIONS] ZIM_FILE_PATH DIRECTORY_PATH ...
|
||||
|
||||
.SH DESCRIPTION
|
||||
The \fBkiwix-serve\fR command is used to run a stand-alone HTTP server for serving ZIM contents over the network.
|
||||
@@ -21,6 +25,10 @@ Path of an XML library file listing ZIM files to serve. To be used only with the
|
||||
\fBZIM_FILE_PATH ...\fR
|
||||
ZIM file path(s). Multiple arguments are allowed.
|
||||
|
||||
.TP
|
||||
\fBDIRECTORY_PATH ...\fR
|
||||
Path(s) of directories containing ZIM files. Multiple arguments are allowed.
|
||||
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
\fB--library\fR
|
||||
@@ -123,6 +131,11 @@ Serve multiple ZIM files:
|
||||
.B kiwix-serve zim1.zim zim2.zim zim3.zim
|
||||
.fi
|
||||
|
||||
Serve ZIM files within a directory or directories:
|
||||
.sp
|
||||
.nf
|
||||
.B kiwix-serve zimDir1 zimDir2
|
||||
|
||||
Serve ZIM files from a library:
|
||||
.sp
|
||||
.nf
|
||||
|
||||
@@ -52,6 +52,8 @@ R"(Deliver ZIM file(s) articles via HTTP
|
||||
|
||||
Usage:
|
||||
kiwix-serve [options] ZIMPATH ...
|
||||
kiwix-serve [options] DIRECTORYPATH ...
|
||||
kiwix-serve [options] ZIMPATH DIRECTORYPATH ...
|
||||
kiwix-serve [options] (-l | --library) LIBRARYPATH
|
||||
kiwix-serve -h | --help
|
||||
kiwix-serve -V | --version
|
||||
|
||||
Reference in New Issue
Block a user