1CFETOOLDUMP(1) User Contributed Perl Documentation CFETOOLDUMP(1)
2
3
4
6 cfetool dump - dump the contents of a database in XML format
7
9 cfetool dump name [--path⎪-p directory name] [--file⎪-f filename]
10 [--daily⎪-d] [--weekly⎪-w] [--yearly⎪-y] [--verbose⎪-v] [--help⎪-h]
11
13 Prints the contents of the specified database in XML format, with com‐
14 ments for human readability. This format can be read by cfetool import.
15
16 The -d, -w, and -y options specify which databases to include in the
17 dump, and may be combined. If they are all ommitted, the default is to
18 only dump the weekly database.
19
21 --path⎪-p directory name
22 Names the directory in which the database specified by name can be
23 found.
24
25 --file⎪-f filename
26 Names a file to print the XML to. If this option is omitted, the
27 XML will be printed to the standard output stream.
28
29 --daily⎪-d
30 Include the daily pattern database in the dump.
31
32 --weekly⎪-w
33 Include the weekly pattern database in the dump.
34
35 --yearly⎪-y
36 Include the yearly pattern database in the dump.
37
38 --verbose⎪-v
39 Print details of the command's execution to the standard output
40 stream. When using this argument, it is recommended that you also
41 provide the -f argument, to avoid sharing the standard output
42 stream.
43
44 --help⎪-h
45 Print a short help message and then exit.
46
48 % cfetool dump temperature --path /my/path -f temperature.xml
49
50 Prints the following to the file temperature.xml:
51
52 <!-- cfetool Database Dump -->
53 <dump>
54
55 <name> temperature </name>
56
57 <age> 1 </age> <!-- steps (0.001 weeks) -->
58
59 <step> 10 </step> <!-- minutes -->
60
61 <!-- consecutive updates -->
62 <iterations> 1 </iterations>
63
64 <!-- last update at Tue Aug 31 10:32:05 2004 -->
65 <timestamp> 1093973525 </timestamp>
66
67 <!-- current weighted average -->
68 <expect> 7.105000 </expect>
69
70 <!-- current variance -->
71 <var> 38.280217 </var>
72
73 <!-- data entries -->
74 <entry> <timekey> Tue:Hr10:Min30_40 </timekey>
75 <expect> 10.150000 </expect>
76 <var> 13.245750 </var>
77 </entry>
78
79 </dump>
80
82 The code and documentation were contributed by Stanford Linear Acceler‐
83 ator Center, a department of Stanford University. This documentation
84 was written by
85
86 Elizabeth Cassell <e_a_c@mailsnare.net> and
87 Alf Wachsmann <alfw@slac.stanford.edu>
88
90 Copyright 2004 Alf Wachsmann <alfw@slac.stanford.edu> and
91 Elizabeth Cassell <e_a_c@mailsnare.net>
92 All rights reserved.
93
94
95
96perl v5.8.4 2004-09-21 CFETOOLDUMP(1)