Merge pull request #576 from kiwix/kiwix-manage-man-url-fix

Rewritten kiwix-manage man
pull/581/head
Kelson 4 years ago committed by GitHub
commit 2a9378e24e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,62 +1,69 @@
.TH KIWIX 1 "21 May 2012" .TH KIWIX-MANAGE 1 "21 May 2012"
.SH NAME .SH NAME
kiwix\-manage \- Kiwix Library Manager kiwix\-manage \- Kiwix Library Manager
.SH SYNOPSIS .SH SYNOPSIS
.IX Header SYNOPSIS .IX Header SYNOPSIS
.B kiwix\-manage .TP
.br \fBkiwix\-manage\fR LIBRARY_PATH \fBadd\fR ZIM_PATH ...
kiwix\-manage LIBRARY_PATH add ZIM_PATH ... .TP
.br \fBkiwix\-manage\fR LIBRARY_PATH \fBshow\fR [ZIM_ID_1] [ZIM_ID_2] ...
kiwix-manage LIBRARY_PATH show [CONTENTID1] [CONTENTID2] ... .TP
.br \fBkiwix\-manage\fR LIBRARY_PATH \fBremove\fR ZIM_ID_1 [ZIM_ID_2] ...
kiwix\-manage LIBRARY_PATH remove CONTENTID1 [CONTENTID2] .TP
\fBkiwix\-manage\fR --version
.TP
\fBkiwix\-manage\fR --help
.SH DESCRIPTION .SH DESCRIPTION
.SS kiwix\-manage
.PP .PP
\fBkiwix\-manage\fP tool for managing a kiwix library. \fBkiwix\-manage\fP is a command line tool for manipulating a Kiwix XML library.
.PP .PP
Allows one to manage the content of the kiwix library. The library file is a \fBkiwix\-manage\fP allows to manage the entries of the Kiwix
flat XML file listing ZIM files with all necessary information like favicon, library. The library file is a flat XML file listing ZIM files with
date, creator, description, indexpath, filepath, title, source/metalink, etc. all necessary information like id, favicon, date, creator,
. description, filepath, title, url, etc.
.PP
Example library file can be found at https://www.kiwix.org/library\.xml .SH ACTIONS
.br
.TP .TP
\fBadd\fR \fBadd\fR
Add \fBZIM_FILE\fP to \fBLIBRARY_FILE\fP. Add \fBZIM_FILE\fP to \fBLIBRARY_FILE\fP. Create the library file if necessary.
.TP
\fBremove\fR
Remove the given \fBZIM_ID\fR from \fBLIBRARY_FILE\fR. At least one \fBZIM_ID\fR should be specified.
.TP .TP
\fBshow\fR \fBshow\fR
Show given \fBCONTENT_ID\fP from \fBLIBRARY_FILE\fR. If no \fBCONTENT_ID\fP is given then all contents from \fBLIBRARY_FILE\fR are shown. Show given \fBZIM_ID\fP from \fBLIBRARY_FILE\fR. If no \fBZIM_ID\fP is given then all contents from \fBLIBRARY_FILE\fR are shown.
.SH OPTIONS
.TP .TP
\fBremove\fR Options to be used with the action \fBadd\fR:
Remove the given \fBCONTENT_ID\fR from \fBLIBRARY_FILE\fR. At least one \fBCONTENT_ID\fR should be specified.
.TP .TP
\fB\-\-zimPathToSave=\fR \fB\-\-url=HTTP_URL\fR
Change the location reference of the ZIM file in the library. Set the ZIM online HTTP(S) URL
.TP .TP
\fB\-\-current\fR \fB\-\-zimPathToSave=OTHER_FS_PATH\fR
Mark this content as the current (default) content in the library. Set an arbitrary ZIM filesystem path (instead of the ZIM_PATH)
.TP .TP
\fB\-\-backend=xapian|clucene\fR Other options (to be used alone):
Select an indexing backend.
.TP .TP
\fB\-\-indexPath=FULLTEXT_IDX_PATH\fR \fB\-\-help | \-h\fR
Path to full-text index for that ZIM file. Display the kiwix-manage help
.TP .TP
\fBurl\fR \fB\-\-version | \-v\fR
Set the content location of the ZIM file over the network for in\-kiwix download. Display the version of kiwix-manage and all dependences
.SH SEE ALSO .SH SEE ALSO
kiwix(1) kiwix\-serve(1) kiwix\-serve(1)
.SH AUTHOR
Emmanuel Engelhart <kelson@kiwix.org> .SH AUTHORS
.br Kiwix team <contact@kiwix.org>
Vasudev Kamath <kamathvasudev@gmail.com> (Manual)

Loading…
Cancel
Save