summaryrefslogtreecommitdiffstats
path: root/src/libs/7zip/unix/DOCS/MANUAL/commands/list.htm
blob: 1eba758e9e236745a850b66b16aee7e96c31b41e (plain)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
  <META http-equiv="Content-Type" content="text/html; charset=Windows-1252">
  <TITLE>l (List contents of archive) command</TITLE>
  <LINK href="style.css" rel="stylesheet" type="text/css">
</HEAD>

<BODY>

<H1>l (List contents of archive) command</H1>



<!--
<H4>Syntax</H4>
<P><PRE class="syntax">
l[a | t][f]
</PRE></P>

-->

<P>Lists contents of archive.</P>

<!-- 
<P>The following options can be used:</P>
<TABLE>
<TR> <TH>Option</TH> <TH>Description</TH> </TR>
<TR> <TD>a</TD> <TD>List with Additional fields</TD> </TR>
<TR> <TD>t</TD> <TD>List with all fields, including Technical</TD> </TR>
<TR> <TD>f</TD> <TD>List with Full pathnames</TD> </TR>
</TABLE>
-->


<H4>Examples</H4>

<PRE class="example">
7z l archive.zip
</PRE>

<P>lists all files from archive <SPAN class="filename">archive.zip</SPAN>.</P>

<!--
<PRE class="example">
7z lf archive.zip *.txt
</PRE>

<P>lists <SPAN class="filename">*.txt</SPAN> files from archive
    <SPAN class="filename">archive.zip</SPAN> with full pathnames.</P>
-->


<H4>Notes</H4>

<P>7-Zip doesn't uses the system wildcard parser. 7-Zip doesn't
follow the archaic rule by which *.* means any file. 7-Zip treats
*.* as matching the name of any file that has an extension. To process 
all files, you must use a * wildcard.</P>


<H4>Switches that can be used with this command</H4>

<P>
  <A href="../switches/ar_include.htm">-ai (Include archives)</A><BR>
  <A href="../switches/ar_no.htm">-an (Disable parsing of archive_name)</A><BR>
  <A href="../switches/ar_exclude.htm">-ax (Exclude archives)</A><BR>
  <A href="../switches/include.htm">-i (Include)</A><BR>
  <A href="../switches/list_tech.htm">-slt (Show technical information)</A><BR>
  <A href="../switches/password.htm">-p (Set Password)</A><BR>
  <A href="../switches/recurse.htm">-r (Recurse)</A><BR>
  <A href="../switches/type.htm">-t (Type of archive)</A><BR>
  <A href="../switches/exclude.htm">-x (Exclude)</A>
</P>

</BODY>
</HTML>