]> pd.if.org Git - zpackage/blob - doc/zpm-merge.8
95da8ec7151749fb49a93a495c90a28e792d6fba
[zpackage] / doc / zpm-merge.8
1 .TH zpm-merge 8 2019-02-14 "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 .B \-vFSauonO
35 .TP
36 \-F
37 Also copy the file content.
38 .TP
39 \-S
40 Do not copy script file content.
41 .TP
42 \-a
43 Merge all packages.
44 .TP
45 \-u
46 update
47 .TP
48 \-n
49 newer
50 .TP
51 \-o
52 older
53 .TP
54 \-O
55 One at a time mode.  Each package will be copied in a single transaction,
56 and failure of one package to copy will not prevent other packages from
57 being copied.  Without this option, all the packages are copied in a
58 single transaction so that either all are copied or none are.
59 .SH EXAMPLES
60 .TP
61 zpm merge -f foo-1.0.3-1.zpm
62 Merge the the most recent package found in the foo-1.0.3-1.zpm file
63 into the local database specified by $ZPMDB.
64 .SH EXIT STATUS
65 0 on success non zero on failure
66 .SH FILES
67 /var/lib/zpm/local.db
68 .SH ENVIRONMENT
69 ZPMDB
70 .SH AUTHOR
71 Nathan Wagner
72 .SH SEE ALSO
73 zpm(8)