smbgetrc man page

smbgetrc — configuration file for smbget


This manual page documents the format and options of the smbgetrc file. This is the configuration file used by the smbget(1) utility. The file contains of key-value pairs, one pair on each line. The key and value should be separated by a space.

By default, smbget reads its configuration from $HOME/.smbgetrc, though other locations can be specified using the command-line options.


The following keys can be set:

resume on|off

Whether aborted downloads should be automatically resumed.

recursive on|off

Whether directories should be downloaded recursively

user name[%password]

Username (and password) to use when logging in to the remote server. Use an empty string for anonymous access.

workgroup wg

Workgroup to use when logging in

nonprompt on|off

Turns off asking for username and password. Useful for scripts.

debuglevel int

(Samba) debuglevel to run at. Useful for tracking down protocol level problems.

dots on|off

Whether a single dot should be printed for each block that has been downloaded, instead of the default progress indicator.

blocksize int

Number of bytes to put in a block.


This man page is correct for version 3 of the Samba suite.

See Also

smbget(1) and Samba(7).


The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed.

This manual page was written by Jelmer Vernooij


01/12/2017 Samba 4.6 File Formats and Conventions