]> pd.if.org Git - zpackage/blob - doc/zpm-extract.8
remove stray debug fprintf
[zpackage] / doc / zpm-extract.8
1 .TH zpm-extract 8 2019-02-14 "ZPM 0.3"
2 .SH NAME
3 zpm-extract \- extract files from a zpm database
4 .SH SYNOPSIS
5 .B zpm extract
6 [
7 .BI -f " pkgfile"
8 ]
9 .I hash path
10 .SH DESCRIPTION
11 \fBzpm-extract\fR
12 extracts file content specified by hash, or a unique prefix of a hash,
13 to the path specified.  The permissions are set to 0600, and the
14 owner and group will be the current user and group.
15 .SH OPTIONS
16 .TP
17 \-f
18 specify the package file to find packages in
19 .SH EXAMPLES
20 .TP
21 zpm extract abcdef012 /tmp/out
22 Extract from $ZPMDB the contents of a file whose sha256 hash begins with
23 abcdef012 to /tmp/out. 
24 .SH EXIT STATUS
25 0 on success non zero on failure
26 .SH FILES
27 /var/lib/zpm/local.db
28 .SH ENVIRONMENT
29 ZPMDB
30 .SH AUTHOR
31 Nathan Wagner
32 .SH SEE ALSO
33 .BR zpm (8)