source: trunk/samba-3.0.25pre1/docs/manpages/smbget.1@ 1

Last change on this file since 1 was 1, checked in by Paul Smedley, 18 years ago

Initial code import

File size: 3.5 KB
Line 
1.\"Generated by db2man.xsl. Don't modify this, modify the source.
2.de Sh \" Subsection
3.br
4.if t .Sp
5.ne 5
6.PP
7\fB\\$1\fR
8.PP
9..
10.de Sp \" Vertical space (when we can't use .PP)
11.if t .sp .5v
12.if n .sp
13..
14.de Ip \" List item
15.br
16.ie \\n(.$>=3 .ne \\$3
17.el .ne 3
18.IP "\\$1" \\$2
19..
20.TH "SMBGET" 1 "" "" ""
21.SH NAME
22smbget \- wget-like utility for download files over SMB
23.SH "SYNOPSIS"
24.ad l
25.hy 0
26.HP 7
27\fBsmbget\fR [\-a,\ \-\-guest] [\-r,\ \-\-resume] [\-R,\ \-\-recursive] [\-u,\ \-\-username=STRING] [\-p,\ \-\-password=STRING] [\-w,\ \-\-workgroup=STRING] [\-n,\ \-\-nonprompt] [\-d,\ \-\-debuglevel=INT] [\-D,\ \-\-dots] [\-P,\ \-\-keep\-permissions] [\-o,\ \-\-outputfile] [\-f,\ \-\-rcfile] [\-q,\ \-\-quiet] [\-v,\ \-\-verbose] [\-b,\ \-\-blocksize] [\-?,\ \-\-help] [\-\-usage] {smb://host/share/path/to/file} [smb://url2/] [\&.\&.\&.]
28.ad
29.hy
30
31.SH "DESCRIPTION"
32
33.PP
34This tool is part of the \fBsamba\fR(7) suite\&.
35
36.PP
37smbget is a simple utility with wget\-like semantics, that can download files from SMB servers\&. You can specify the files you would like to download on the command\-line\&.
38
39.PP
40The files should be in the smb\-URL standard, e\&.g\&. use smb://host/share/file for the UNC path \fB\\\\\\\\HOST\\\\SHARE\\\\file\fR\&.
41
42.SH "OPTIONS"
43
44.TP
45\-a, \-\-guest
46Work as user guest
47
48.TP
49\-r, \-\-resume
50Automatically resume aborted files
51
52.TP
53\-R, \-\-recursive
54Recursively download files
55
56.TP
57\-u, \-\-username=STRING
58Username to use
59
60.TP
61\-p, \-\-password=STRING
62Password to use
63
64.TP
65\-w, \-\-workgroup=STRING
66Workgroup to use (optional)
67
68.TP
69\-n, \-\-nonprompt
70Don't ask anything (non\-interactive)
71
72.TP
73\-d, \-\-debuglevel=INT
74Debuglevel to use
75
76.TP
77\-D, \-\-dots
78Show dots as progress indication
79
80.TP
81\-P, \-\-keep\-permissions
82Set same permissions on local file as are set on remote file\&.
83
84.TP
85\-o, \-\-outputfile
86Write the file that is being download to the specified file\&. Can not be used together with \-R\&.
87
88.TP
89\-f, \-\-rcfile
90Use specified rcfile\&. This will be loaded in the order it was specified \- e\&.g\&. if you specify any options before this one, they might get overriden by the contents of the rcfile\&.
91
92.TP
93\-q, \-\-quiet
94Be quiet
95
96.TP
97\-v, \-\-verbose
98Be verbose
99
100.TP
101\-b, \-\-blocksize
102Number of bytes to download in a block\&. Defaults to 64000\&.
103
104.TP
105\-?, \-\-help
106Show help message
107
108.TP
109\-\-usage
110Display brief usage message
111
112.SH "SMB URLS"
113
114.PP
115SMB URL's should be specified in the following format:
116
117.PP
118
119
120.nf
121
122smb://[[[domain;]user[:password@]]server[/share[/path[/file]]]]
123
124.fi
125
126
127.PP
128
129
130.nf
131
132smb:// means all the workgroups
133
134.fi
135
136
137.PP
138
139
140.nf
141
142smb://name/ means, if \fIname\fR is a workgroup, all the servers in this workgroup, or if \fIname\fR is a server, all the shares on this server\&.
143
144.fi
145
146
147.SH "EXAMPLES"
148
149.nf
150
151# Recursively download 'src' directory
152smbget \-R smb://rhonwyn/jelmer/src
153# Download FreeBSD ISO and enable resuming
154smbget \-r smb://rhonwyn/isos/FreeBSD5\&.1\&.iso
155# Recursively download all ISOs
156smbget \-Rr smb://rhonwyn/isos
157# Backup my data on rhonwyn
158smbget \-Rr smb://rhonwyn/
159
160.fi
161
162.SH "BUGS"
163
164.PP
165Permission denied is returned in some cases where the cause of the error is unknown (such as an illegally formatted smb:// url or trying to get a directory without \-R turned on)\&.
166
167.SH "VERSION"
168
169.PP
170This man page is correct for version 3\&.0 of the Samba suite\&.
171
172.SH "AUTHOR"
173
174.PP
175The 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\&.
176
177.PP
178The smbget manpage was written by Jelmer Vernooij\&.
179
Note: See TracBrowser for help on using the repository browser.