Appendix smbgetコマンド
Samba3のsmbgetコマンド
[root@rocky9-samba35 ~]#
[root@rocky9-samba35 ~]# smbget --usage
Usage: smbget [-aerURnODqvP?] [-a|--guest] [-e|--encrypt] [-r|--resume]
[-U|--update] [-R|--recursive] [-u|--username STRING]
[-p|--password STRING] [-w|--workgroup STRING] [-n|--nonprompt]
[-d|--debuglevel INT] [-o|--outputfile STRING] [-O|--stdout] [-D|--dots]
[-q|--quiet] [-v|--verbose] [-P|--keep-permissions] [-b|--blocksize INT]
[-f|--rcfile STRING] [-?|--help] [--usage]
[root@rocky9-samba35 ~]#
[root@rocky9-samba35 ~]# smbget --help
Usage: smbget [OPTION...]
-a, --guest Work as user guest
-e, --encrypt Encrypt SMB transport (UNIX extended servers
only)
-r, --resume Automatically resume aborted files
-U, --update Download only when remote file is newer than
local file or local file is missing
-R, --recursive Recursively download files
-u, --username=STRING Username to use
-p, --password=STRING Password to use
-w, --workgroup=STRING Workgroup to use (optional)
-n, --nonprompt Don't ask anything (non-interactive)
-d, --debuglevel=INT Debuglevel to use
-o, --outputfile=STRING Write downloaded data to specified file
-O, --stdout Write data to stdout
-D, --dots Show dots as progress indication
-q, --quiet Be quiet
-v, --verbose Be verbose
-P, --keep-permissions Keep permissions
-b, --blocksize=INT Change number of bytes in a block
-f, --rcfile=STRING Use specified rc file
Help options:
-?, --help Show this help message
--usage Display brief usage message
[root@rocky9-samba35 ~]#
Samba4のsmbgetコマンド
[root@rocky9-samba45 ~]#
[root@rocky9-samba45 ~]# smbget --usage
使い方: smbget [-?aneruRODqv] [-?|--help] [--usage] [-w|--workgroup=文字列]
[-U|--user=文字列] [-a|--guest] [-n|--nonprompt] [-d|--debuglevel=INT]
[-e|--encrypt] [-r|--resume] [-u|--update] [-R|--recursive]
[-b|--blocksize=INT] [-o|--outputfile=文字列] [-O|--stdout] [-D|--dots]
[-q|--quiet] [-v|--verbose] [-f|--rcfile=文字列] [--limit-rate=INT]
[root@rocky9-samba45 ~]#
[root@rocky9-samba45 ~]# smbget --help
使い方: smbget [オプション...]
-w, --workgroup=文字列 Workgroup to use (optional)
-U, --user=文字列 Username to use
-a, --guest Work as user guest
-n, --nonprompt Don't ask anything (non-interactive)
-d, --debuglevel=INT Debuglevel to use
-e, --encrypt Encrypt SMB transport
-r, --resume Automatically resume aborted files
-u, --update Download only when remote file is newer than local
file or local file is missing
-R, --recursive Recursively download files
-b, --blocksize=INT Change number of bytes in a block
-o, --outputfile=文字列 Write downloaded data to specified file
-O, --stdout Write data to stdout
-D, --dots Show dots as progress indication
-q, --quiet Be quiet
-v, --verbose Be verbose
-f, --rcfile=文字列 Use specified rc file
--limit-rate=INT Limit download speed to this many KB/s
ヘルプオプション:
-?, --help このヘルプメッセージを表示します
--usage 使い方の概要を表示します
[root@rocky9-samba45 ~]#
この記事が気に入ったらサポートをしてみませんか?