mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-17 04:49:25 +00:00
Update cheatsheets
This commit is contained in:
25
linux/smbget
Normal file
25
linux/smbget
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user