smbclient 脚本拷贝文件 smbclient //10.24.1.1/xx -U username%password << cmd mask "" recurse ON prompt OFF cd est est lcd '/Share/target' mget * cmd