🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.linux.misc
6 messages
6 total messages Started by Jonathan Poritz Tue, 11 Mar 1997 00:00
reconcile two unix boxes
#1068
Author: Jonathan Poritz
Date: Tue, 11 Mar 1997 00:00
21 lines
1380 bytes
I wonder if anyone has or knows of some scripts which will
reconcile two (pieces of) UNIX filesystems over a network
connection.  The situation is that I run Linux on a machine
at home but I also have a Sun running SunOS 4.1.something
in my office at school, and I would like to be able to go home
at night, turn on PPP via modem to the Sun in my office, type
"reconcile" or somesuch, and after a few minutes have my home
directory at home look exactly like it looked a few minutes
ago at school.

I know, I could tar and compress my whole home directory every
time I logout at school and simply download the whole thing,
but we're talking many megabytes and my modem is not *that* fast.

Any ideas?

Thanks in advance,

jonathan poritz
kaleb@math.umd.edu
Re: reconcile two unix boxes
#1069
Author: Judah Milgram
Date: Tue, 11 Mar 1997 00:00
32 lines
1879 bytes
In article <33259649.41C67EA6@math.umd.edu>,
Jonathan Poritz  <kaleb@math.umd.edu> wrote:
>... I would like to be able to go home
>at night, turn on PPP via modem to the Sun in my office, type
>"reconcile" or somesuch, and after a few minutes have my home
>directory at home look exactly like it looked a few minutes
>ago at school.

If math runs AFS like Glue and WAM do, just run AFS on your machine
at home, then your entire home directory can be accessed from home as
though it were local. Then you can just cd to /afs/math.umd.edu/foo/bar
and work in that directory as though it were on your machine at home.

Over a phone line, this is a bit slow for serious work, but you can
always just do

cp -ua /afs/math.umd.edu/foo/bar .

on your Linux box and go have a refreshing beverage. Or just run it
on cron. I can send you a find command that will delete obsolete
mirrors from your Linux box.

If math doesn't run AFS, it might be on NFS, in which case you might
be able to convince your sysadmin to let you mount it from home.

Judah

-- 
Judah Milgram        milgram@eng.umd.edu            (301)405-1144
finger milgram+@eng.umd.edu for address, pgp key etc.
or: http://www.glue.umd.edu/~milgram/
Re: reconcile two unix boxes
#1070
Author: Boris A. Veytsman
Date: Tue, 11 Mar 1997 00:00
29 lines
1635 bytes

>I wonder if anyone has or knows of some scripts which will
>reconcile two (pieces of) UNIX filesystems over a network
>connection.  The situation is that I run Linux on a machine
>at home but I also have a Sun running SunOS 4.1.something
>in my office at school, and I would like to be able to go home
>at night, turn on PPP via modem to the Sun in my office, type
>"reconcile" or somesuch, and after a few minutes have my home
>directory at home look exactly like it looked a few minutes
>ago at school.
>

Use ncftp from ftp.probe.net. It has a nice feature 

get -R <directory>

This scans <directory> recursively, and gets all the files that are
NEWER than the files on your local machine. It has a number of other
features too.

I use this every day to "reconcile" directories on my home and office
machines. 

Good luck

-Boris

<a href="http://planck.psu.edu/~boris">Home page</a>
Re: reconcile two unix boxes
#1071
Author: Bert de Bruijn
Date: Wed, 12 Mar 1997 00:00
16 lines
1457 bytes
Boris A. Veytsman (boris@plmsc.psu.edu) wrote:

: Use ncftp from ftp.probe.net. It has a nice feature 

: get -R <directory>

Or get the "mirror" package. This does the same thing, but checks for dates,
file-sizes, and so on. The protocol used is ftp.

-------------------------------------------------------------------------------
Bert de Bruijn                       E-mail: bob@ulyssis.student.kuleuven.ac.be
       http://www.ulyssis.student.kuleuven.ac.be/students/Bert.de.Bruijn/
-------------------------------------------------------------------------------
I got rhythm, I got music, I got my girl, who could ask for anything more ?
							(I. & G. Gershwin)
Re: reconcile two unix boxes
#1072
Author: C.Niemeyer
Date: Sun, 23 Mar 1997 00:00
32 lines
1979 bytes
Hi Jonathan,

Jonathan Poritz <kaleb@math.umd.edu> schrieb im Beitrag
<33259649.41C67EA6@math.umd.edu>...
> I wonder if anyone has or knows of some scripts which will
> reconcile two (pieces of) UNIX filesystems over a network
> connection.  The situation is that I run Linux on a machine
> at home but I also have a Sun running SunOS 4.1.something
> in my office at school, and I would like to be able to go home
> at night, turn on PPP via modem to the Sun in my office, type
> "reconcile" or somesuch, and after a few minutes have my home
> directory at home look exactly like it looked a few minutes
> ago at school.
> 
> I know, I could tar and compress my whole home directory every
> time I logout at school and simply download the whole thing,
> but we're talking many megabytes and my modem is not *that* fast.
> 
> Any ideas?

1. nfs : mount your drive at school over modem-nfs line, this is not realy
fast
2. remsh/rsh : you have to setup an gcc environment which is possible to
compile for
    your home-maschine and your school-maschine, then your can say 
    " rsh school make -DHOME-CPU "
   in your makefile you have to test for wich CPU you want to compile
3. rdist : you can use rdist for copying a filetree from one maschine to an
other

So long, Clemens
Re: reconcile two unix boxes
#1073
Author: Robert W. Brewer
Date: Sun, 23 Mar 1997 00:00
10 lines
952 bytes
Some kind of FTP mirroring software might do the trick too.
I imagine they try to minimize the files transferred to make
one archive a mirror of the other.  Just an idea--I have
never done FTP mirroring.

-Rob
-- 
Robert W. Brewer  
rbrewer@op.net     
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads