accessing samba folder in terminal

Seth M sephee.ubuntu at rabbitnet.org
Thu Jan 8 13:18:17 UTC 2009


On Thu, Jan 8, 2009 at 7:52 AM, Kevin <kevinwat at gmail.com> 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:
http://www.faqs.org/docs/samba/ch05.html

Seth




More information about the ubuntu-users mailing list