summaryrefslogtreecommitdiffstats
path: root/docs-xml/manpages/smbgetrc.5.xml
blob: 4431535703e91828564838bc283c78ac1b75e83a (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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
<refentry id="smbgetrc.5">

<refmeta>
	<refentrytitle>smbgetrc</refentrytitle>
	<manvolnum>5</manvolnum>
	<refmiscinfo class="source">Samba</refmiscinfo>
	<refmiscinfo class="manual">File Formats and Conventions</refmiscinfo>
	<refmiscinfo class="version">&doc.version;</refmiscinfo>
</refmeta>


<refnamediv>
	<refname>smbgetrc</refname>
	<refpurpose>configuration file for smbget</refpurpose>
</refnamediv>

<refsynopsisdiv>
	<para><filename>smbgetrc</filename></para>
</refsynopsisdiv>

<refsect1>
	<title>DESCRIPTION</title>

	<para>
		This manual page documents the format and options of the <emphasis>smbgetrc</emphasis> 
		file. This is the configuration file used by the <citerefentry><refentrytitle>smbget</refentrytitle><manvolnum>1</manvolnum></citerefentry> 
		utility. The file contains of key-value pairs, one pair on each line. The key 
			and value should be separated by a space.
	</para>

	<para>By default, smbget reads its configuration from <emphasis>$HOME/.smbgetrc</emphasis>, though 
		other locations can be specified using the command-line options.</para>
</refsect1>

<refsect1>
	<title>OPTIONS</title>

	<para>
	The following keys can be set:
</para>

	<variablelist>
		<varlistentry><term>resume on|off</term>
			<listitem><para>
			Whether aborted downloads should be automatically resumed.
			</para></listitem>
		</varlistentry>

		<varlistentry>
			<term>recursive on|off</term>
			<listitem><para>Whether directories should be downloaded recursively</para></listitem>
		</varlistentry>

		<varlistentry><term>user <replaceable>name[%password]</replaceable></term>
			<listitem><para>Username (and password) to use when logging in to the remote server. Use an empty string for anonymous access.
			</para></listitem>
		</varlistentry>

		<varlistentry><term>workgroup <replaceable>wg</replaceable></term>
			<listitem><para>Workgroup to use when logging in</para></listitem>
		</varlistentry>

		<varlistentry><term>nonprompt on|off</term>
			<listitem><para>Turns off asking for username and password. Useful for scripts.</para></listitem>
		</varlistentry>

		<varlistentry><term>debuglevel <replaceable>int</replaceable></term>
			<listitem><para>(Samba) debuglevel to run at. Useful for tracking down protocol level problems.</para></listitem>
		</varlistentry>

		<varlistentry><term>dots on|off</term>
			<listitem><para>Whether a single dot should be printed for each block that has been downloaded, instead of the default progress indicator.</para></listitem>
		</varlistentry>

		<varlistentry><term>blocksize <replaceable>int</replaceable></term>
			<listitem><para>Number of bytes to put in a block. </para></listitem>
		</varlistentry>
	</variablelist>
</refsect1>

<refsect1>
	<title>VERSION</title>

	<para>This man page is part of version &doc.version; of
	the Samba suite.</para>
</refsect1>

<refsect1>
	<title>SEE ALSO</title>
	<para><citerefentry><refentrytitle>smbget</refentrytitle>
	<manvolnum>1</manvolnum></citerefentry> and <citerefentry><refentrytitle>Samba</refentrytitle>
	<manvolnum>7</manvolnum></citerefentry>.
	</para>
</refsect1>

<refsect1>
	<title>AUTHOR</title>
	
	<para>The original Samba software and related utilities 
	were created by Andrew Tridgell. Samba is now developed
	by the Samba Team as an Open Source project similar 
	to the way the Linux kernel is developed.</para>

	<para>This manual page was written by Jelmer Vernooij</para>
	
</refsect1>

</refentry>