[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: smbclient question.

You could use smbmount //smb_name/share mountpoint -o username=<>,
password=<> ...

Of course if you don't have root access or smbmount isn't suid then this
method won't work.


On Fri, 29 Jun 2001, Friedrich wrote:

> Hi,
> I wish to use smbclient to backup some windows shares onto a Linux box. Now this will be run in a
> script so I sould like to have it not prompt for anything. So far I can get it to retrieve a single
> file without prompting with this command :
> smbclient //server/share -U user%password -c "cd location\of\data;get file1.txt"
> but if I use :
> smbclient //server/share -U user%password -c "cd location\of\data;mget *"
> Then is says :
> Get file file1.txt?
> and this will then stop it from working in a script that is a cronjob. Any ideas on how I can get
> it to just get the files and not ask anything?
> Thanks, Friedrich.
> --
> To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Greg Rowe
Paranoia is a virtue.

Reply to: