Changeset 39 for trunk/samba/docs/manpages/smbget.1
- Timestamp:
- May 27, 2007, 12:26:26 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/samba/docs/manpages/smbget.1
r1 r39 19 19 .. 20 20 .TH "SMBGET" 1 "" "" "" 21 .SH NAME22 smbget \- wget-like utility for download files over SMB21 .SH "NAME" 22 smbget - wget-like utility for download files over SMB 23 23 .SH "SYNOPSIS" 24 .ad l25 .hy 026 24 .HP 7 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/] [\&.\&.\&.] 28 .ad 29 .hy 30 25 \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/] [...] 31 26 .SH "DESCRIPTION" 32 33 27 .PP 34 This tool is part of the \fBsamba\fR(7) suite\&. 35 28 This tool is part of the 29 \fBsamba\fR(7) 30 suite. 36 31 .PP 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\&. 38 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. 39 33 .PP 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\&.41 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. 42 36 .SH "OPTIONS" 43 44 .TP 45 \-a, \-\-guest 37 .PP 38 -a, --guest 39 .RS 3n 46 40 Work as user guest 47 48 .TP 49 \-r, \-\-resume 41 .RE 42 .PP 43 -r, --resume 44 .RS 3n 50 45 Automatically resume aborted files 51 52 .TP 53 \-R, \-\-recursive 46 .RE 47 .PP 48 -R, --recursive 49 .RS 3n 54 50 Recursively download files 55 56 .TP 57 \-u, \-\-username=STRING 51 .RE 52 .PP 53 -u, --username=STRING 54 .RS 3n 58 55 Username to use 59 60 .TP 61 \-p, \-\-password=STRING 56 .RE 57 .PP 58 -p, --password=STRING 59 .RS 3n 62 60 Password to use 63 64 .TP 65 \-w, \-\-workgroup=STRING 61 .RE 62 .PP 63 -w, --workgroup=STRING 64 .RS 3n 66 65 Workgroup to use (optional) 67 68 .TP 69 \-n, \-\-nonprompt 70 Don't ask anything (non\-interactive) 71 72 .TP 73 \-d, \-\-debuglevel=INT 66 .RE 67 .PP 68 -n, --nonprompt 69 .RS 3n 70 Don't ask anything (non-interactive) 71 .RE 72 .PP 73 -d, --debuglevel=INT 74 .RS 3n 74 75 Debuglevel to use 75 76 .TP 77 \-D, \-\-dots 76 .RE 77 .PP 78 -D, --dots 79 .RS 3n 78 80 Show dots as progress indication 79 80 .TP 81 \-P, \-\-keep\-permissions 82 Set same permissions on local file as are set on remote file\&. 83 84 .TP 85 \-o, \-\-outputfile 86 Write the file that is being download to the specified file\&. Can not be used together with \-R\&. 87 88 .TP 89 \-f, \-\-rcfile 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\&. 91 92 .TP 93 \-q, \-\-quiet 81 .RE 82 .PP 83 -P, --keep-permissions 84 .RS 3n 85 Set same permissions on local file as are set on remote file. 86 .RE 87 .PP 88 -o, --outputfile 89 .RS 3n 90 Write the file that is being download to the specified file. Can not be used together with -R. 91 .RE 92 .PP 93 -f, --rcfile 94 .RS 3n 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. 96 .RE 97 .PP 98 -q, --quiet 99 .RS 3n 94 100 Be quiet 95 96 .TP 97 \-v, \-\-verbose 101 .RE 102 .PP 103 -v, --verbose 104 .RS 3n 98 105 Be verbose 99 100 .TP 101 \-b, \-\-blocksize 102 Number of bytes to download in a block\&. Defaults to 64000\&. 103 104 .TP 105 \-?, \-\-help 106 .RE 107 .PP 108 -b, --blocksize 109 .RS 3n 110 Number of bytes to download in a block. Defaults to 64000. 111 .RE 112 .PP 113 -?, --help 114 .RS 3n 106 115 Show help message 107 108 .TP 109 \-\-usage 116 .RE 117 .PP 118 --usage 119 .RS 3n 110 120 Display brief usage message 111 121 .RE 112 122 .SH "SMB URLS" 113 114 123 .PP 115 124 SMB URL's should be specified in the following format: 116 117 125 .PP 118 126 127 .sp 119 128 120 129 .nf … … 124 133 .fi 125 134 126 127 135 .PP 128 136 137 .sp 129 138 130 139 .nf … … 134 143 .fi 135 144 136 137 145 .PP 138 146 147 .sp 139 148 140 149 .nf 141 150 142 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 \&.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. 143 152 144 153 .fi 145 146 154 147 155 .SH "EXAMPLES" … … 150 158 151 159 # Recursively download 'src' directory 152 smbget \-R smb://rhonwyn/jelmer/src160 smbget -R smb://rhonwyn/jelmer/src 153 161 # Download FreeBSD ISO and enable resuming 154 smbget \-r smb://rhonwyn/isos/FreeBSD5\&.1\&.iso162 smbget -r smb://rhonwyn/isos/FreeBSD5.1.iso 155 163 # Recursively download all ISOs 156 smbget \-Rr smb://rhonwyn/isos164 smbget -Rr smb://rhonwyn/isos 157 165 # Backup my data on rhonwyn 158 smbget \-Rr smb://rhonwyn/166 smbget -Rr smb://rhonwyn/ 159 167 160 168 .fi 169 .SH "BUGS" 170 .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). 172 .SH "VERSION" 173 .PP 174 This man page is correct for version 3.0 of the Samba suite. 175 .SH "AUTHOR" 176 .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. 178 .PP 179 The smbget manpage was written by Jelmer Vernooij. 161 180 162 .SH "BUGS"163 164 .PP165 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)\&.166 167 .SH "VERSION"168 169 .PP170 This man page is correct for version 3\&.0 of the Samba suite\&.171 172 .SH "AUTHOR"173 174 .PP175 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\&.176 177 .PP178 The smbget manpage was written by Jelmer Vernooij\&.179
Note:
See TracChangeset
for help on using the changeset viewer.