view genwebgallery.1 @ 6:cb0dff8c48c6

added option --overwrite; refactored checkCreateDir; fixed HTML output; introduced exit code 3 and 4; better help output
author meillo@marmaro.de
date Fri, 23 Nov 2007 22:43:41 +0100
parents 737fe869e278
children 27f96c3b8224
line wrap: on
line source

.TH GENWEBGALLERY 1 "genwebgallery-VERSION" "2007-11-21" "genwebgallery"

.SH NAME
genwebgallery

.SH SYNOPSIS
.B genwebgallery [OPTIONS] PICTURES

.SH DESCRIPTION
.B genwebgallery
Generates a web gallery of mentioned pictures. Only very minimalistic static HTML pages are generated. Copies of the pictures get resized to the defined sizes.
.PP
All generated content goes in a subdirectory which defaults to 'webgallery'. Or any other directory specified by --output.
.PP
The
.BR convert
tool from ImageMagick is required.

.SH OPTIONS
.TP
.B \-\-help
Show summary of options.
.TP
.B \-\-version
Show version of program
.TP
.B \-v, \-\-verbose
Outputs more log data
.TP
.B \-o, \-\-output
Specify output directory
.TP
.B \-i, \-\-index
Specify index file (index.htm)
.TP
.B \-t, \-\-title
Specify title of gallery
.TP
.B \-c, \-\-copyright
Specify copyright notice
.TP
.B \-ps, \-\-pic-size
Specify size of picture
.TP
.B \-ts, \-\-thumb-size
Specify size of thumbnails
.TP
.B \-\-overwrite
Overwrites the output directory if it exists without asking.
Without this option, the users is interactively asked what to do.
.PP
See
.B genwebgallery --help
for default values.

.SH EXIT CODE
.TP
.B 1
Any other error
.TP
.B 2
The required program
.B convert
could not be found. It's probably not installed.
Normally it is provided by the ImageMagick tool collection.
.TP
.B 3
The output directory already exists and the user wanted to keep it.
.TP
.B 4
The output directory already exists and the user wanted it to be deleted, but it was not possible.

.SH SEE ALSO
.BR convert (1),
.BR ImageMagick (1).

.SH AUTHOR
genwebgallery and this man page was written by markus schnalke <meillo@marmaro.de>
.PP
Website: http://prog.marmaro.de