[olug] samba to windows share using UNC?

Theodore Katseres tedkat at gmail.com
Thu Jun 19 21:30:25 UTC 2008


On Thu, Jun 19, 2008 at 3:51 PM, Ryan Stille <ryan at cfwebtools.com> wrote:
> Is it possible to copy a file to a windows share, without mounting it as
> a local file system first?  I've used smbmount in the past, then copied
> the file, but in this case I just want to copy it using a UNC path,
> specifying the username/password on the command line.
>
> -Ryan

Without mounting try ...

smbclient //server/share -U user%pass -c 'put file'

where "file" is in your local machine's cwd.

-- 
Ted Katseres
 ||=O=||



More information about the OLUG mailing list