I created a shell script to send files on Linux to Windows via sbmclient.
smbclient //HOST_WINDOWS/D$ -U USER --pass PASSWORD -c "put /tmp/test.txt FOLDER_WINDOWS/test.txt"
That works perfectly.
smbclient //HOST_WINDOWS/D$ -U USER --pass PASSWORD -c "put /tmp/* FOLDER_WINDOWS"
I would like to send all files at once, is it possible?