This is a utility close to ftp that enables you to connect to a PC running Windows.
To know the list of shares accessible on PC win through SMB, launch smbclient -L win -N.
Launch smbclient //win/work to connect to the share work on the PC called win. You may also use smbclient \\\\win\\work.
To create a tar archive of the work share, launch smbclient //win/work -Tc work.tar.
To print a file letter.txt to the printer my_printer connected to the PC win, type
cat letter.txt | smbclient //win/printer_name my_password \ -N -c "put - darth" |
For you to be able to mount/unmount some directories from Windows on your GNU/Linux box, your kernel needs to support the smbfs filesystem (which is the case for the Linux-Mandrake distribution). Then you can use the programs smbmount and/or smbumount. For example: smbmount "\\win\work" -c 'mount /mnt -u 123 -g 456'. Which will locally mount the share work with a local UID of 123 and a local GID of 456.
Allows to create tar archives remotely. Read the manual page for more information on its numerous options.