-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathunpack.1
More file actions
39 lines (39 loc) · 728 Bytes
/
unpack.1
File metadata and controls
39 lines (39 loc) · 728 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
.Dd September 26, 2022
.Dt UNPACK 1
.Os
.Sh NAME
.Nm unpack
.Nd unarchive archive files
.Sh SYNOPSIS
.Nm
.Ar file
.Op Ar directory
.Sh DESCRIPTION
.Nm
extracts the contents of an archive file such as .zip or .tar.gz in the
current directory or in the specified directory
.PP
The mimetypes of the supported archive file formats are the following:
.Bl -bullet -compact
.It
application/gzip (.tar.gz)
.It
application/x-tar (.tar)
.It
application/zip (.zip)
.It
application/vnd.rar (.rar)
.It
application/x-7z-compressed (.7z)
.El
.Sh EXAMPLES
Extract the content of file.zip into the home directory:
.Bd -literal -offset indent
$ unpack file.zip $HOME
.Ed
.Sh SEE ALSO
.Xr tar 1 ,
.Xr gzip 1 ,
.Xr unzip 1 ,
.Xr unrar 1 ,
.Xr 7z 1