Copy files from Linux to MOL drive?

David Bélanger mol-general@lists.maconlinux.org
Tue, 5 Aug 2003 16:13:15 -0400


On Tue, Aug 05, 2003 at 08:03:22PM +0100, Titanium Suite Admin wrote:
> 
> On Tuesday, August 5, 2003, at 04:07 PM, David Bélanger wrote:
> 
> >
> >Hi,
> >
> >First thing is to get networking to work if not already done.
> >
> >If it is only to copy files from time to time, you can use scp.  Just
> >start the ssh server on at least one system if it not already running.
> I can ssh in but my knowledge of scp is nil!
> I'm very new to Linux as I mostly use mac's (now I'm on a G3 with 
> YellowDogLinux)

scp is provided with ssh.  So if you can ssh, you can scp.  You can look
in the man page for details: man scp

scp is like the cp (copy) command but you can copy between hosts.

Ex:
scp myfile.txt 192.168.1.2:
(don't forget the ':')
will copy myfile.txt in the current directory (say home directly on
Linux) to home directory of host 192.168.1.2 (IP of Mac OS X my system).

Of course, you can specify a user name if different on both system, a
destination path/filename, copy directories recursively, etc.


> 
> >
> >If it is to access files directly, I use NFS.
> ??
> do I need to add more lines to my molrc.net?
> >

No, you need to configure an NFS server which is not easy.  On OS X,
you can use the freely available GUI program NFSManager.  On Linux, I
read the HOWTO.  Also, you will have to change the uid and gid so they
match on both system.

David

> >David
> >
> >On Tue, Aug 05, 2003 at 03:37:43PM +0100, Titanium Suite Admin wrote:
> >>Hi all,
> >>	can anyone advise if it's possible to copy a file to my mac drive
> >>	from YellowDogLinux?
> >>or the other way around MOL to YellowDog??
> >>
> >>cheers Ti
> >>
> >>_______________________________________________
> >>mol-general mailing list
> >>mol-general@lists.maconlinux.org
> >>http://lists.maconlinux.org/mailman/listinfo/mol-general
> >
> >-- 
> >
> >---
> >
> >David Bélanger
> >Graduate Student
> >School of Computer Science
> >McGill University
> >Office: MC226
> >
> >Web page:   http://www.cs.mcgill.ca/~dbelan2/
> >Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt
> >
> >_______________________________________________
> >mol-general mailing list
> >mol-general@lists.maconlinux.org
> >http://lists.maconlinux.org/mailman/listinfo/mol-general
> 
> _______________________________________________
> mol-general mailing list
> mol-general@lists.maconlinux.org
> http://lists.maconlinux.org/mailman/listinfo/mol-general
> 

-- 

---

David Bélanger
Graduate Student
School of Computer Science
McGill University
Office: MC226

Web page:   http://www.cs.mcgill.ca/~dbelan2/
Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt