| 1 | '\" t
|
|---|
| 2 | .\" Title: smbget
|
|---|
| 3 | .\" Author: [see the "AUTHOR" section]
|
|---|
| 4 | .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
|---|
| 5 | .\" Date: 08/02/2011
|
|---|
| 6 | .\" Manual: User Commands
|
|---|
| 7 | .\" Source: Samba 3.5
|
|---|
| 8 | .\" Language: English
|
|---|
| 9 | .\"
|
|---|
| 10 | .TH "SMBGET" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
|
|---|
| 11 | .\" -----------------------------------------------------------------
|
|---|
| 12 | .\" * set default formatting
|
|---|
| 13 | .\" -----------------------------------------------------------------
|
|---|
| 14 | .\" disable hyphenation
|
|---|
| 15 | .nh
|
|---|
| 16 | .\" disable justification (adjust text to left margin only)
|
|---|
| 17 | .ad l
|
|---|
| 18 | .\" -----------------------------------------------------------------
|
|---|
| 19 | .\" * MAIN CONTENT STARTS HERE *
|
|---|
| 20 | .\" -----------------------------------------------------------------
|
|---|
| 21 | .SH "NAME"
|
|---|
| 22 | smbget \- wget\-like utility for download files over SMB
|
|---|
| 23 | .SH "SYNOPSIS"
|
|---|
| 24 | .HP \w'\ 'u
|
|---|
| 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] [\-O,\ \-\-stdout] [\-?,\ \-\-help] [\-\-usage] {smb://host/share/path/to/file} [smb://url2/] [\&.\&.\&.]
|
|---|
| 26 | .SH "DESCRIPTION"
|
|---|
| 27 | .PP
|
|---|
| 28 | This tool is part of the
|
|---|
| 29 | \fBsamba\fR(7)
|
|---|
| 30 | suite\&.
|
|---|
| 31 | .PP
|
|---|
| 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\&.
|
|---|
| 33 | .PP
|
|---|
| 34 | The files should be in the smb\-URL standard, e\&.g\&. use smb://host/share/file for the UNC path
|
|---|
| 35 | \fI\e\e\e\eHOST\e\eSHARE\e\efile\fR\&.
|
|---|
| 36 | .SH "OPTIONS"
|
|---|
| 37 | .PP
|
|---|
| 38 | \-a, \-\-guest
|
|---|
| 39 | .RS 4
|
|---|
| 40 | Work as user guest
|
|---|
| 41 | .RE
|
|---|
| 42 | .PP
|
|---|
| 43 | \-r, \-\-resume
|
|---|
| 44 | .RS 4
|
|---|
| 45 | Automatically resume aborted files
|
|---|
| 46 | .RE
|
|---|
| 47 | .PP
|
|---|
| 48 | \-R, \-\-recursive
|
|---|
| 49 | .RS 4
|
|---|
| 50 | Recursively download files
|
|---|
| 51 | .RE
|
|---|
| 52 | .PP
|
|---|
| 53 | \-u, \-\-username=STRING
|
|---|
| 54 | .RS 4
|
|---|
| 55 | Username to use
|
|---|
| 56 | .RE
|
|---|
| 57 | .PP
|
|---|
| 58 | \-p, \-\-password=STRING
|
|---|
| 59 | .RS 4
|
|---|
| 60 | Password to use
|
|---|
| 61 | .RE
|
|---|
| 62 | .PP
|
|---|
| 63 | \-w, \-\-workgroup=STRING
|
|---|
| 64 | .RS 4
|
|---|
| 65 | Workgroup to use (optional)
|
|---|
| 66 | .RE
|
|---|
| 67 | .PP
|
|---|
| 68 | \-n, \-\-nonprompt
|
|---|
| 69 | .RS 4
|
|---|
| 70 | Don\'t ask anything (non\-interactive)
|
|---|
| 71 | .RE
|
|---|
| 72 | .PP
|
|---|
| 73 | \-d, \-\-debuglevel=INT
|
|---|
| 74 | .RS 4
|
|---|
| 75 | Debuglevel to use
|
|---|
| 76 | .RE
|
|---|
| 77 | .PP
|
|---|
| 78 | \-D, \-\-dots
|
|---|
| 79 | .RS 4
|
|---|
| 80 | Show dots as progress indication
|
|---|
| 81 | .RE
|
|---|
| 82 | .PP
|
|---|
| 83 | \-P, \-\-keep\-permissions
|
|---|
| 84 | .RS 4
|
|---|
| 85 | Set same permissions on local file as are set on remote file\&.
|
|---|
| 86 | .RE
|
|---|
| 87 | .PP
|
|---|
| 88 | \-o, \-\-outputfile
|
|---|
| 89 | .RS 4
|
|---|
| 90 | Write the file that is being downloaded to the specified file\&. Can not be used together with \-R\&.
|
|---|
| 91 | .RE
|
|---|
| 92 | .PP
|
|---|
| 93 | \-O, \-\-stdout
|
|---|
| 94 | .RS 4
|
|---|
| 95 | Write the file that is being downloaded to standard output\&.
|
|---|
| 96 | .RE
|
|---|
| 97 | .PP
|
|---|
| 98 | \-f, \-\-rcfile
|
|---|
| 99 | .RS 4
|
|---|
| 100 | 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\&.
|
|---|
| 101 | .RE
|
|---|
|
|---|