Ubuntu使用smbclient

安装:

apt-get install smbclient

mount:

smbclient //10.0.0.5/aa -U zhi.yang%xxxxx (xxxxx为密)

mask undefinedundefined

recurse ON

prompt OFF

cd bb (bb为存储aa下的目录)

lcd /home/bb (/home/bb为本地目录)

mget * (下载存储bb目录下所有到本地/home/bb/下)