bsdunzip.1 (e64fe029e9d3ce476e77a478318e0c3cd201ff08) bsdunzip.1 (64884e0d4ce7ed57c970e1b34f93e3754c656900)
1.\"-
2.\" Copyright (c) 2007-2008 Dag-Erling Smørgrav
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
26.\" $FreeBSD$
27.\"
1.\"-
2.\" Copyright (c) 2007-2008 Dag-Erling Smørgrav
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
26.\" $FreeBSD$
27.\"
28.Dd January 2, 2023
28.Dd June 27, 2023
29.Dt BSDUNZIP 1
30.Os
31.Sh NAME
32.Nm bsdunzip
33.Nd extract files from a ZIP archive
34.Sh SYNOPSIS
35.Nm
36.Op Fl aCcfjLlnopqtuvy
29.Dt BSDUNZIP 1
30.Os
31.Sh NAME
32.Nm bsdunzip
33.Nd extract files from a ZIP archive
34.Sh SYNOPSIS
35.Nm
36.Op Fl aCcfjLlnopqtuvy
37.Op { Fl O | Fl I No } Ar encoding
37.Op Fl d Ar dir
38.Op Fl x Ar pattern
39.Op Fl P Ar password
40.Ar zipfile
41.Op Ar member ...
42.Sh DESCRIPTION
43.\" ...
44The following options are available:

--- 12 unchanged lines hidden (view full) ---

57.It Fl d Ar dir
58Extract files into the specified directory rather than the current
59directory.
60.It Fl f
61Update existing.
62Extract only files from the zipfile if a file with the same name
63already exists on disk and is older than the former.
64Otherwise, the file is silently skipped.
38.Op Fl d Ar dir
39.Op Fl x Ar pattern
40.Op Fl P Ar password
41.Ar zipfile
42.Op Ar member ...
43.Sh DESCRIPTION
44.\" ...
45The following options are available:

--- 12 unchanged lines hidden (view full) ---

58.It Fl d Ar dir
59Extract files into the specified directory rather than the current
60directory.
61.It Fl f
62Update existing.
63Extract only files from the zipfile if a file with the same name
64already exists on disk and is older than the former.
65Otherwise, the file is silently skipped.
66.It Fl I Ar encoding
67.It Fl O Ar encoding
68Convert filenames from the specified encoding.
65.It Fl j
66Ignore directories stored in the zipfile; instead, extract all files
67directly into the extraction directory.
68.It Fl L
69Convert the names of the extracted files and directories to lowercase.
70.It Fl l
71List, rather than extract, the contents of the zipfile.
72.It Fl n

--- 45 unchanged lines hidden (view full) ---

118Enabling
119.Xr zipinfo 1L
120mode changes the way in which additional arguments are parsed.
121Currently only
122.Xr zipinfo 1L
123mode 1 is supported, which lists the file names one per line.
124.It Ar [member ...]
125Optional list of members to extract from the zipfile.
69.It Fl j
70Ignore directories stored in the zipfile; instead, extract all files
71directly into the extraction directory.
72.It Fl L
73Convert the names of the extracted files and directories to lowercase.
74.It Fl l
75List, rather than extract, the contents of the zipfile.
76.It Fl n

--- 45 unchanged lines hidden (view full) ---

122Enabling
123.Xr zipinfo 1L
124mode changes the way in which additional arguments are parsed.
125Currently only
126.Xr zipinfo 1L
127mode 1 is supported, which lists the file names one per line.
128.It Ar [member ...]
129Optional list of members to extract from the zipfile.
126Can include patterns, e.g.
130Can include patterns, e.g.,
127.Ar 'memberdir/*'
128will extract all files and dirs below memberdir.
129.El
130.Pp
131Note that only one of
132.Fl n ,
133.Fl o ,
134and

--- 82 unchanged lines hidden ---
131.Ar 'memberdir/*'
132will extract all files and dirs below memberdir.
133.El
134.Pp
135Note that only one of
136.Fl n ,
137.Fl o ,
138and

--- 82 unchanged lines hidden ---