How to copy a file to network drive using terminal?

Arne Caspari arne at datafloater.de
Fri Sep 23 07:09:16 UTC 2005


Raphael Roberts wrote:
> Hi all, I can access my network drive by typing this into a browser:
> 
> smb://trams01-w/DATA/Work
> 
> But I would like to be able to copy a file to this location using 
> commands in terminal.
> I tried the line:
> 
> raph at ubuntu:~$ scp wallpaper.png smb://trams01-w/DATA/Work
> 

You can use the gnomevfs-* equivalents - ie.:

gnomevfs-copy wallpaper.png smb://trams01-w/DATA/Work

in your case.


  /Arne




More information about the ubuntu-users mailing list