1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. |
---|
2 | .TH DUMPYKOTA "1" "novembre 2004" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" |
---|
3 | .SH NAME |
---|
4 | dumpykota \- manual page for dumpykota 1.20_unofficial |
---|
5 | .SH DESCRIPTION |
---|
6 | dumpykota v1.20_unofficial (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres |
---|
7 | .PP |
---|
8 | Dumps PyKota database's content. |
---|
9 | .PP |
---|
10 | command line usage : |
---|
11 | .IP |
---|
12 | dumpykota [options] |
---|
13 | .PP |
---|
14 | options : |
---|
15 | .TP |
---|
16 | \fB\-v\fR | \fB\-\-version\fR |
---|
17 | Prints dumpykota's version number then exits. |
---|
18 | .TP |
---|
19 | \fB\-h\fR | \fB\-\-help\fR |
---|
20 | Prints this message then exits. |
---|
21 | .TP |
---|
22 | \fB\-d\fR | \fB\-\-data\fR type |
---|
23 | Dumps 'type' datas. Allowed types are : |
---|
24 | .IP |
---|
25 | - history : dumps the jobs history. |
---|
26 | - users : dumps users. |
---|
27 | - groups : dumps user groups. |
---|
28 | - printers : dump printers. |
---|
29 | - upquotas : dump user quotas. |
---|
30 | - gpquotas : dump user groups quotas. |
---|
31 | - payments : dumps user payments. |
---|
32 | - pmembers : dumps printer groups members. |
---|
33 | - umembers : dumps user groups members. |
---|
34 | .IP |
---|
35 | NB : the \fB\-d\fR | \fB\-\-data\fR command line option |
---|
36 | is MANDATORY. |
---|
37 | .TP |
---|
38 | \fB\-f\fR | \fB\-\-format\fR fmt |
---|
39 | Dumps datas in the 'fmt' format. When not specified, |
---|
40 | the format is to dump datas in the csv format (comma |
---|
41 | separated values). All data dumped is between double |
---|
42 | quotes. Allowed formats are : |
---|
43 | .IP |
---|
44 | - csv : separate datas with commas |
---|
45 | - ssv : separate datas with semicolons |
---|
46 | - tsv : separate datas with tabs |
---|
47 | - xml : dump data as XML |
---|
48 | .TP |
---|
49 | \fB\-o\fR | \fB\-\-output\fR fname |
---|
50 | All datas will be dumped to the file instead of |
---|
51 | to the standard output. The special '-' filename |
---|
52 | is the default value and means stdout. |
---|
53 | WARNING : existing files are truncated ! |
---|
54 | .PP |
---|
55 | Examples : |
---|
56 | .IP |
---|
57 | \f(CW$ dumpykota --data history --format csv >myfile.csv\fR |
---|
58 | .IP |
---|
59 | This dumps the history in a comma separated values file, for possible |
---|
60 | use in a spreadsheet. |
---|
61 | .IP |
---|
62 | \f(CW$ dumpykota --data users --format xml -o users.xml\fR |
---|
63 | .IP |
---|
64 | Dumps all users datas to the users.xml file. |
---|
65 | .PP |
---|
66 | This program is free software; you can redistribute it and/or modify |
---|
67 | it under the terms of the GNU General Public License as published by |
---|
68 | the Free Software Foundation; either version 2 of the License, or |
---|
69 | (at your option) any later version. |
---|
70 | .PP |
---|
71 | This program is distributed in the hope that it will be useful, |
---|
72 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
73 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
74 | GNU General Public License for more details. |
---|
75 | .PP |
---|
76 | You should have received a copy of the GNU General Public License |
---|
77 | along with this program; if not, write to the Free Software |
---|
78 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. |
---|
79 | .PP |
---|
80 | Please e-mail bugs to: Jerome Alet - alet@librelogiciel.com |
---|