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