accessing samba folder in terminal

Seth M sephee.nix at
Thu Jan 8 13:15:43 UTC 2009

On Thu, Jan 8, 2009 at 7:52 AM, Kevin <kevinwat at> wrote:
> Could someone please advise how to access a samba folder in a terminal?
> I am able to access smb://windows_box/folder on my Ubuntu 8.10 box by GUI
> (Firefox and Nautilus) now and wonder how to move files between the
> Ubuntu box and the windows_box in a terminal using a script?  Thank you.
> --
> -Kevin

Try `man smbclient`. You can also mount samba shares with smbfs and
access files as if it were any normal directory.

Info and examples of using smbclient programmatically:


More information about the ubuntu-users mailing list