📄 smbget.1
字号:
.\"Generated by db2man.xsl. Don't modify this, modify the source..de Sh \" Subsection.br.if t .Sp.ne 5.PP\fB\\$1\fR.PP...de Sp \" Vertical space (when we can't use .PP).if t .sp .5v.if n .sp...de Ip \" List item.br.ie \\n(.$>=3 .ne \\$3.el .ne 3.IP "\\$1" \\$2...TH "SMBGET" 1 "" "" "".SH NAMEsmbget \- wget-like utility for download files over SMB.SH "SYNOPSIS".ad l.hy 0.HP 7\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/] [\&.\&.\&.].ad.hy.SH "DESCRIPTION".PPThis tool is part of the \fBsamba\fR(7) suite\&..PPsmbget 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\&..PPThe files should be in the smb\-URL standard, e\&.g\&. use smb://host/share/file for the UNC path \fB\\\\\\\\HOST\\\\SHARE\\\\file\fR\&..SH "OPTIONS".TP\-a, \-\-guestWork as user guest.TP\-r, \-\-resumeAutomatically resume aborted files.TP\-R, \-\-recursiveRecursively download files.TP\-u, \-\-username=STRINGUsername to use.TP\-p, \-\-password=STRINGPassword to use.TP\-w, \-\-workgroup=STRINGWorkgroup to use (optional).TP\-n, \-\-nonpromptDon't ask anything (non\-interactive).TP\-d, \-\-debuglevel=INTDebuglevel to use.TP\-D, \-\-dotsShow dots as progress indication.TP\-P, \-\-keep\-permissionsSet same permissions on local file as are set on remote file\&..TP\-o, \-\-outputfileWrite the file that is being download to the specified file\&. Can not be used together with \-R\&..TP\-f, \-\-rcfileUse 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\&..TP\-q, \-\-quietBe quiet.TP\-v, \-\-verboseBe verbose.TP\-b, \-\-blocksizeNumber of bytes to download in a block\&. Defaults to 64000\&..TP\-?, \-\-helpShow help message.TP\-\-usageDisplay brief usage message.SH "SMB URLS".PPSMB URL's should be specified in the following format:.PP.nfsmb://[[[domain;]user[:password@]]server[/share[/path[/file]]]].fi.PP.nfsmb:// means all the workgroups.fi.PP.nfsmb://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\&..fi.SH "EXAMPLES".nf# Recursively download 'src' directorysmbget \-R smb://rhonwyn/jelmer/src# Download FreeBSD ISO and enable resumingsmbget \-r smb://rhonwyn/isos/FreeBSD5\&.1\&.iso# Recursively download all ISOssmbget \-Rr smb://rhonwyn/isos# Backup my data on rhonwynsmbget \-Rr smb://rhonwyn/.fi.SH "BUGS".PPPermission 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)\&..SH "VERSION".PPThis man page is correct for version 3\&.0 of the Samba suite\&..SH "AUTHOR".PPThe 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\&..PPThe smbget manpage was written by Jelmer Vernooij\&.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -