Ignore:
Timestamp:
May 27, 2007, 12:26:26 AM (18 years ago)
Author:
Paul Smedley
Message:

Upgrade source to 3.0.25a

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/samba/docs/manpages/smbget.1

    r1 r39  
    1919..
    2020.TH "SMBGET" 1 "" "" ""
    21 .SH NAME
    22 smbget \- wget-like utility for download files over SMB
     21.SH "NAME"
     22smbget - wget-like utility for download files over SMB
    2323.SH "SYNOPSIS"
    24 .ad l
    25 .hy 0
    2624.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/] [...]
    3126.SH "DESCRIPTION"
    32 
    3327.PP
    34 This tool is part of the \fBsamba\fR(7) suite\&.
    35 
     28This tool is part of the
     29\fBsamba\fR(7)
     30suite.
    3631.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 
     32smbget 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.
    3933.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 
     34The 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.
    4236.SH "OPTIONS"
    43 
    44 .TP
    45 \-a, \-\-guest
     37.PP
     38-a, --guest
     39.RS 3n
    4640Work as user guest
    47 
    48 .TP
    49 \-r, \-\-resume
     41.RE
     42.PP
     43-r, --resume
     44.RS 3n
    5045Automatically resume aborted files
    51 
    52 .TP
    53 \-R, \-\-recursive
     46.RE
     47.PP
     48-R, --recursive
     49.RS 3n
    5450Recursively download files
    55 
    56 .TP
    57 \-u, \-\-username=STRING
     51.RE
     52.PP
     53-u, --username=STRING
     54.RS 3n
    5855Username to use
    59 
    60 .TP
    61 \-p, \-\-password=STRING
     56.RE
     57.PP
     58-p, --password=STRING
     59.RS 3n
    6260Password to use
    63 
    64 .TP
    65 \-w, \-\-workgroup=STRING
     61.RE
     62.PP
     63-w, --workgroup=STRING
     64.RS 3n
    6665Workgroup 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
     70Don't ask anything (non-interactive)
     71.RE
     72.PP
     73-d, --debuglevel=INT
     74.RS 3n
    7475Debuglevel to use
    75 
    76 .TP
    77 \-D, \-\-dots
     76.RE
     77.PP
     78-D, --dots
     79.RS 3n
    7880Show 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
     85Set same permissions on local file as are set on remote file.
     86.RE
     87.PP
     88-o, --outputfile
     89.RS 3n
     90Write 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
     95Use 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
    94100Be quiet
    95 
    96 .TP
    97 \-v, \-\-verbose
     101.RE
     102.PP
     103-v, --verbose
     104.RS 3n
    98105Be 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
     110Number of bytes to download in a block. Defaults to 64000.
     111.RE
     112.PP
     113-?, --help
     114.RS 3n
    106115Show help message
    107 
    108 .TP
    109 \-\-usage
     116.RE
     117.PP
     118--usage
     119.RS 3n
    110120Display brief usage message
    111 
     121.RE
    112122.SH "SMB URLS"
    113 
    114123.PP
    115124SMB URL's should be specified in the following format:
    116 
    117125.PP
    118126
     127.sp
    119128
    120129.nf
     
    124133.fi
    125134
    126 
    127135.PP
    128136
     137.sp
    129138
    130139.nf
     
    134143.fi
    135144
    136 
    137145.PP
    138146
     147.sp
    139148
    140149.nf
    141150
    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\&.
     151smb://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.
    143152
    144153.fi
    145 
    146154
    147155.SH "EXAMPLES"
     
    150158
    151159# Recursively download 'src' directory
    152 smbget \-R smb://rhonwyn/jelmer/src
     160smbget -R smb://rhonwyn/jelmer/src
    153161# Download FreeBSD ISO and enable resuming
    154 smbget \-r smb://rhonwyn/isos/FreeBSD5\&.1\&.iso
     162smbget -r smb://rhonwyn/isos/FreeBSD5.1.iso
    155163# Recursively download all ISOs
    156 smbget \-Rr smb://rhonwyn/isos
     164smbget -Rr smb://rhonwyn/isos
    157165# Backup my data on rhonwyn
    158 smbget \-Rr smb://rhonwyn/
     166smbget -Rr smb://rhonwyn/
    159167
    160168.fi
     169.SH "BUGS"
     170.PP
     171Permission 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
     174This man page is correct for version 3.0 of the Samba suite.
     175.SH "AUTHOR"
     176.PP
     177The 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
     179The smbget manpage was written by Jelmer Vernooij.
    161180
    162 .SH "BUGS"
    163 
    164 .PP
    165 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 .PP
    170 This man page is correct for version 3\&.0 of the Samba suite\&.
    171 
    172 .SH "AUTHOR"
    173 
    174 .PP
    175 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 .PP
    178 The smbget manpage was written by Jelmer Vernooij\&.
    179 
Note: See TracChangeset for help on using the changeset viewer.