autosmbmnt — automatically mount SMB shares when available
autosmbmnt [OPTIONS]
host,share[,username[,password]]
...
autosmbmnt takes a list of SMB shares and continually monitors the availability of those shares. Shares are mounted when available, and are automatically un-mounted when they are no longer available.
Shares are mounted under the current working directory like
./host/share. If
directory (with --dir) is
specified, shares are mounted on mount points under that directory
instead of the current directory. Mount points are automatically created
by autosmbmnt before mounting begins, and will be removed on exit
(unless autosmbmnt failed to un-mount the share).
Mandatory arguments for long options are mandatory for short options, too.
-h, --help-v, --version-s, --smbmount-w, --writeable-d, --dir=directorydirectory instead of the current working directory-q, --quiet-Q, --very-quiet--debugShares are specified using non-standard comma syntax (described above). Passwords for shares must be provided on the command-line, and are not obfuscated in memory, and, consequently, are easily seen using ps or other methods.
Please report bugs on launchpad at http://launchpad.net/products/autosmbmnt/+bugs.