mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 16:06:00 +02:00
smbget: add page (#5187)
This commit is contained in:
parent
23d7996775
commit
0b8670109e
1 changed files with 20 additions and 0 deletions
20
pages/linux/smbget.md
Normal file
20
pages/linux/smbget.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# smbget
|
||||
|
||||
> `wget`-like utility for downloading files from SMB servers.
|
||||
> More information: <https://www.samba.org/samba/docs/current/man-html/smbget.1.html>.
|
||||
|
||||
- Download a file from a server:
|
||||
|
||||
`smbget {{smb://server/share/file}}`
|
||||
|
||||
- Download a share or directory recursively:
|
||||
|
||||
`smbget --recursive {{smb://server/share}}`
|
||||
|
||||
- Connect with a username and password:
|
||||
|
||||
`smbget {{smb://server/share/file}} --user {{username%password}}`
|
||||
|
||||
- Require encrypted transfers:
|
||||
|
||||
`smbget {{smb://server/share/file}} --encrypt`
|
Loading…
Add table
Reference in a new issue