[suse-sles-e] smbclient copy from linux box to windows

From: Peter Van Lone (petervl_at_gmail.com)
Date: Mon Sep 11 2006 - 08:20:54 CEST


Message-ID: <68b791330609102320l4e3f6793s7c65fae5a1e78eaf@mail.gmail.com>
Date: Mon, 11 Sep 2006 01:20:54 -0500
From: "Peter Van Lone" <petervl@gmail.com>
Subject: [suse-sles-e] smbclient copy from linux box to windows

I'm trying to figure out how to use smbclient to push web server logs
to a windows box that is running web trends.

I don't want to use an interactive session (where you get to the smb>
prompt) but rather just want to put together a script that can be
launched from cron so that once a day, the apache logs are copied
over.

I've tried a variety of approaches -- do I have to mount the smb share
first? Or, can I do a "fish like" thing they way I can in konqueror --
just specify the URL? Would I do a cp [source] smbclient
//server/share ??

Or would I have to somehow pipe the output of the smbclient command?

LOL! It's late ... I'm tired ...

I will hack at it again probably tommorow night .... but if anyone has
done something like this and can show me the syntax to use, it would
be appreciated.

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: suse-sles-e-unsubscribe@suse.com
For additional commands, e-mail: suse-sles-e-help@suse.com



This archive was generated by hypermail 2.1.7 : Mon Sep 11 2006 - 08:21:01 CEST