copy files with smbclient

I am used to using the linux gui to do most of my stuff, but every now and then you have to drop to cmd line to expediate some tasks. I found this neat app that i haven’t been using called smbclient, it has been saving me a lot of time while copying files to and from my linux box since I started using it.

To log in to a share:

smbclient //IP/share  -> you enter password and you are in

To copy local file to share:

put test.odf  -> you can add path details if the file is not in your local directory e.g /var/doc/test.odf

To copy file from share:

get test.odf

To find out further uses of this app checkout this link.