On Sat, Oct 30, 1999 at 01:25:15AM +0200, Micha Feigin wrote:
> I want to keep the directories both at home and the university in sinc
> with each other (make shure that i have the latest versions of everything
> on both computers).
> It's kind of maintaining a mirror both ways, only I need to unly update
> the latest files in both directions.
> Is there an automated way to do this (not ftp each file menualy).
> Also, on the university computer I keep a version of at list most of the
> files on cvs, because on some of them I work also with other people.
> Any way to take that into account also? (Its also an option to just make
> shure the cvs repository is up to date, and update the local directory
> from it through the net instead of updating the files)
Exactly! Use CVS for your programming projects, and you probably don't
need to mirror anything else. That's probably the Right Way(tm).
> I also might have a little problem with mirroring programs because
> my local system clock is running to fast for some reson I didn't
> have time to try and figure out, will this screw the process up? I
> am supposed to buy a new computer though in the very near future, so
> I am hoping it will solve the problem.
Take a look at adjtimex if you want to solve this, you can use it to
modify how fast your clock goes. It affects only the Linux kernel
clock though. I don't know if your distribution does it but AFAIR
Debian writes the Linux kernel clock to the CMOS clock on shutdown.
You can add it to the scripts of your distro if it doesn't do it. Of
course time will still go too fast when Linux isn't running, but if
you run Linux on it all the time, that should solve the problem.
> Can I tell a mirroring program though to update both ways to make shure
> both sides have the newest files, and if so, any sujestion as to what
> program to use (I need something simple and light, just to perform this
> job at the moment).
If you don't want CVS, you can probably use rsync.
--
Alex Shnitman | http://www.debian.org
[EMAIL PROTECTED], [EMAIL PROTECTED] +-----------------------
http://alexsh.hectic.net UIN 188956 PGP key on web page
E1 F2 7B 6C A0 31 80 28 63 B8 02 BA 65 C7 8B BA
/real/ kernel hackers
dd if=/dev/urandom of=/vmlinuz
and influence the Universal Randomosity Field.
-- Gaal Yahas
PGP signature