1 .\"Generated by db2man.xsl. Don't modify this, modify the source.
10 .de Sp \" Vertical space (when we can't use .PP)
16 .ie \\n(.$>=3 .ne \\$3
20 .TH "SMBGET" 1 "" "" ""
22 smbget \- wget-like utility for download files over SMB
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/] [\&.\&.\&.]
34 This tool is part of the \fBsamba\fR(7) suite\&.
37 smbget 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\&.
40 The files should be in the smb\-URL standard, e\&.g\&. use smb://host/share/file for the UNC path \fB\\\\\\\\HOST\\\\SHARE\\\\file\fR\&.
50 Automatically resume aborted files
54 Recursively download files
57 \-u, \-\-username=STRING
61 \-p, \-\-password=STRING
65 \-w, \-\-workgroup=STRING
66 Workgroup to use (optional)
70 Don't ask anything (non\-interactive)
73 \-d, \-\-debuglevel=INT
78 Show dots as progress indication
81 \-P, \-\-keep\-permissions
82 Set same permissions on local file as are set on remote file\&.
86 Write the file that is being download to the specified file\&. Can not be used together with \-R\&.
90 Use 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\&.
102 Number of bytes to download in a block\&. Defaults to 64000\&.
110 Display brief usage message
115 SMB URL's should be specified in the following format:
121 smb://[[[domain;]user[:password@]]server[/share[/path[/file]]]]
129 smb:// means all the workgroups
137 smb://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\&.
144 # Recursively download 'src' directory
145 smbget \-R smb://rhonwyn/jelmer/src
146 # Download FreeBSD ISO and enable resuming
147 smbget \-r smb://rhonwyn/isos/FreeBSD5\&.1\&.iso
148 # Recursively download all ISOs
149 smbget \-Rr smb://rhonwyn/isos
150 # Backup my data on rhonwyn
151 smbget \-Rr smb://rhonwyn/
157 Permission 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)\&.
162 This man page is correct for version 3\&.0 of the Samba suite\&.
167 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\&.
170 The smbget manpage was written by Jelmer Vernooij\&.