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
25 smbget [-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 This tool is part of the
32 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.
34 The files should be in the smb-URL standard, e.g. use smb://host/share/file for the UNC path
35 \fB\\\\HOST\\SHARE\\file\fR.
45 Automatically resume aborted files
50 Recursively download files
63 -w, --workgroup=STRING
65 Workgroup to use (optional)
70 Don't ask anything (non-interactive)
80 Show dots as progress indication
83 -P, --keep-permissions
85 Set same permissions on local file as are set on remote file.
90 Write the file that is being download to the specified file. Can not be used together with -R.
95 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.
110 Number of bytes to download in a block. Defaults to 64000.
120 Display brief usage message
124 SMB URL's should be specified in the following format:
131 smb://[[[domain;]user[:password@]]server[/share[/path[/file]]]]
141 smb:// means all the workgroups
151 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.
159 # Recursively download 'src' directory
160 smbget -R smb://rhonwyn/jelmer/src
161 # Download FreeBSD ISO and enable resuming
162 smbget -r smb://rhonwyn/isos/FreeBSD5.1.iso
163 # Recursively download all ISOs
164 smbget -Rr smb://rhonwyn/isos
165 # Backup my data on rhonwyn
166 smbget -Rr smb://rhonwyn/
171 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).
174 This man page is correct for version 3.0 of the Samba suite.
177 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.
179 The smbget manpage was written by Jelmer Vernooij.