1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-06 07:26:04 +02:00
tldr/pages/linux/smbget.md
Managor 1f63ed5e22
linux*: refresh old pages part 1 (#16251)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2025-04-25 04:34:04 +03:00

528 B

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}} {{[-U|--user]}} {{username%password}}

  • Require encrypted transfers:

smbget {{smb://server/share/file}} {{[-e|--encrypt]}}