source: branches/samba-3.2.x/docs/manpages/smbget.1@ 201

Last change on this file since 201 was 201, checked in by Herwig Bauernfeind, 16 years ago

Update to Samba 3.2.3

File size: 3.8 KB
Line 
1.\" Title: smbget
2.\" Author:
3.\" Generator: DocBook XSL Stylesheets v1.73.1 <http://docbook.sf.net/>
4.\" Date: 08/27/2008
5.\" Manual: User Commands
6.\" Source: Samba 3.2
7.\"
8.TH "SMBGET" "1" "08/27/2008" "Samba 3\.2" "User Commands"
9.\" disable hyphenation
10.nh
11.\" disable justification (adjust text to left margin only)
12.ad l
13.SH "NAME"
14smbget - wget-like utility for download files over SMB
15.SH "SYNOPSIS"
16.HP 1
17smbget [\-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/] [\.\.\.]
18.SH "DESCRIPTION"
19.PP
20This tool is part of the
21\fBsamba\fR(7)
22suite\.
23.PP
24smbget 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\.
25.PP
26The files should be in the smb\-URL standard, e\.g\. use smb://host/share/file for the UNC path
27\fI\e\e\e\eHOST\e\eSHARE\e\efile\fR\.
28.SH "OPTIONS"
29.PP
30\-a, \-\-guest
31.RS 4
32Work as user guest
33.RE
34.PP
35\-r, \-\-resume
36.RS 4
37Automatically resume aborted files
38.RE
39.PP
40\-R, \-\-recursive
41.RS 4
42Recursively download files
43.RE
44.PP
45\-u, \-\-username=STRING
46.RS 4
47Username to use
48.RE
49.PP
50\-p, \-\-password=STRING
51.RS 4
52Password to use
53.RE
54.PP
55\-w, \-\-workgroup=STRING
56.RS 4
57Workgroup to use (optional)
58.RE
59.PP
60\-n, \-\-nonprompt
61.RS 4
62Don\'t ask anything (non\-interactive)
63.RE
64.PP
65\-d, \-\-debuglevel=INT
66.RS 4
67Debuglevel to use
68.RE
69.PP
70\-D, \-\-dots
71.RS 4
72Show dots as progress indication
73.RE
74.PP
75\-P, \-\-keep\-permissions
76.RS 4
77Set same permissions on local file as are set on remote file\.
78.RE
79.PP
80\-o, \-\-outputfile
81.RS 4
82Write the file that is being download to the specified file\. Can not be used together with \-R\.
83.RE
84.PP
85\-f, \-\-rcfile
86.RS 4
87Use 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\.
88.RE
89.PP
90\-q, \-\-quiet
91.RS 4
92Be quiet
93.RE
94.PP
95\-v, \-\-verbose
96.RS 4
97Be verbose
98.RE
99.PP
100\-b, \-\-blocksize
101.RS 4
102Number of bytes to download in a block\. Defaults to 64000\.
103.RE
104.PP
105\-?, \-\-help
106.RS 4
107Show help message
108.RE
109.PP
110\-\-usage
111.RS 4
112Display brief usage message
113.RE
114.SH "SMB URLS"
115.PP
116SMB URL\'s should be specified in the following format:
117.PP
118.RS 4
119.nf
120smb://[[[domain;]user[:password@]]server[/share[/path[/file]]]]
121.fi
122.RE
123.PP
124.RS 4
125.nf
126smb:// means all the workgroups
127.fi
128.RE
129.PP
130.RS 4
131.nf
132smb://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\.
133.fi
134.RE
135.SH "EXAMPLES"
136.sp
137.RS 4
138.nf
139# Recursively download \'src\' directory
140smbget \-R smb://rhonwyn/jelmer/src
141# Download FreeBSD ISO and enable resuming
142smbget \-r smb://rhonwyn/isos/FreeBSD5\.1\.iso
143# Recursively download all ISOs
144smbget \-Rr smb://rhonwyn/isos
145# Backup my data on rhonwyn
146smbget \-Rr smb://rhonwyn/
147.fi
148.RE
149.SH "BUGS"
150.PP
151Permission 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)\.
152.SH "VERSION"
153.PP
154This man page is correct for version 3 of the Samba suite\.
155.SH "AUTHOR"
156.PP
157The 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\.
158.PP
159The smbget manpage was written by Jelmer Vernooij\.
Note: See TracBrowser for help on using the repository browser.