]> pd.if.org Git - zpackage/blob - doc/zpm-merge.8
remove stray debug fprintf
[zpackage] / doc / zpm-merge.8
1 .TH zpm-merge 8 2019-02-18 "ZPM 0.6"
2 .SH NAME
3 zpm-merge \- copy packages from one database to another
4 .SH SYNOPSIS
5 .B zpm merge -f \fIpkgfile\fR
6 [
7 .B \-vFSauonO
8 ]
9 [
10 .BI \-d target
11 ]
12 [
13 .BI \-s status
14 ]
15 .RI [ package ...]
16 .SH DESCRIPTION
17 \fBzpm-merge\fR copies package information from one database
18 to another.  By default, file contents are not copied, but scripts
19 are.  All other metadata about the package is copied, and the status
20 is set to null.
21 .SH OPTIONS
22 .TP
23 \-f \fIpath\fR
24 specify the package file to find packages in, required
25 .TP
26 \-d \fIpath\fR
27 specify the target database, defaults to $ZPMDB
28 .TP
29 \-s \fIstatus\fR
30 set the status of the copied packages to \fIstatus\fR
31 .TP
32 \-v
33 increase the verbosity level by one, may be given multiple times
34 .TP
35 \-F
36 Also copy the file content.
37 .TP
38 \-S
39 Do not copy script file content.
40 .TP
41 \-a
42 Merge all packages.
43 .TP
44 \-u
45 update
46 .TP
47 \-n
48 newer
49 .TP
50 \-o
51 older
52 .TP
53 \-O
54 One at a time mode.  Each package will be copied in a single transaction,
55 and failure of one package to copy will not prevent other packages from
56 being copied.  Without this option, all the packages are copied in a
57 single transaction so that either all are copied or none are.
58 .SH EXAMPLES
59 .TP
60 zpm merge -f foo-1.0.3-1.zpm
61 Merge the the most recent package found in the foo-1.0.3-1.zpm file
62 into the local database specified by $ZPMDB.
63 .SH EXIT STATUS
64 0 on success non zero on failure
65 .SH FILES
66 /var/lib/zpm/local.db
67 .SH ENVIRONMENT
68 ZPMDB
69 .SH AUTHOR
70 Nathan Wagner
71 .SH SEE ALSO
72 zpm(8)