]> pd.if.org Git - zpackage/blob - doc/zpm-contents.8
92319da3f8da4db92f8d52ca43b5da20d67fbfc7
[zpackage] / doc / zpm-contents.8
1 .TH zpm-contents 8 2018-12-08 "ZPM 0.3"
2 .SH NAME
3 zpm-contents \- list files in a zpm package
4 .SH SYNOPSIS
5 .B zpm contents
6 [
7 .BI -f " pkgfile"
8 ]
9 [
10 .B -lnqI
11 ]
12 .RI [ package ...]
13 .RB [ :
14 .IR glob ...\fR]
15 .SH DESCRIPTION
16 \fBzpm-contents\fR lists files belonging to any of the given packages,
17 or all packages.  Additionally, the list of packages can be
18 terminated with ':' and any additional arguments are glob patterns.
19 .SH OPTIONS
20 .TP
21 \-f
22 specify the package file to find packages in
23 .TP
24 \-n
25 list package names only
26 .TP
27 \-q
28 list file paths only
29 .TP
30 \-I
31 restrict to installed packages
32 .TP
33 \-l
34 long listing, with file mode and ownership, overrides \-n
35 .SH EXAMPLES
36 .TP
37 zpm contents
38 lists all files in the local database
39 .TP
40 zpm contents -In : /bin/ls
41 list which package owns /bin/ls
42 .SH EXIT STATUS
43 0 on success non zero on failure
44 .SH FILES
45 /var/lib/zpm/local.db
46 .SH ENVIRONMENT
47 ZPMDB
48 .SH AUTHOR
49 Nathan Wagner
50 .SH SEE ALSO
51 zpm(8)