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
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.