]> pd.if.org Git - zpackage/blob - doc/zpm-contents.8
remove stray debug fprintf
[zpackage] / doc / zpm-contents.8
1 .TH zpm-contents 8 2019-03-05 "ZPM 0.7.0"
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 -lnqIsL
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 \-s
34 only list files that are shared libraries
35 .TP
36 \-L
37 print the soname of a file, if any
38 .TP
39 \-l
40 long listing, with file mode and ownership, overrides \-n
41 .SH EXAMPLES
42 .TP
43 zpm contents
44 lists all files in the local database
45 .TP
46 zpm contents -In : /bin/ls
47 list which package owns /bin/ls
48 .SH EXIT STATUS
49 0 on success non zero on failure
50 .SH FILES
51 /var/lib/zpm/local.db
52 .SH ENVIRONMENT
53 ZPMDB
54 .SH AUTHOR
55 Nathan Wagner
56 .SH SEE ALSO
57 zpm(8)