You are not logged in.
Hi,
I have two machines networked, both running arch. I have the same folder in the same location on both machines. Let's say I place a file in one of them, I want it to be placed in the other as well. Is there a program I can use to synch this?Thanks
Offline
Rsync?
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
I like unison which can manage the synchronization in both directions. It has a simple gtk interface which lets you control the directions.
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
dropbox
Offline
Offline
Definitely dropbox ![]()
Offline
Subversion ;D
Offline
rsync ![]()
Offline
If both machines are always on the network, avoid duplication and set up a share - nfs, sshfs, etc.
Offline
Check grsync. It's a graphical interface for rsync. It will make things much easier.
Offline
If you don't want to work directly off the network and feel like doing some programming, set up some kind of network share then look up how to work with inotify in your favourite programming language (it has bindings for C++, Java, Perl, Python, OCaml, PHP, Haskell, Tcl and I'm assuming C, since I'm assuming it was written in C).
inotify is basically a file alteration monitor: it sets up a request to have the kernel ping the program as soon as a file or directory has changed. Set it up to ping the commit function of a script, and you'll have both machine's filesystems seconds apart from each other.
-dav7
Windows was made for looking at success from a distance through a wall of oversimplicity. Linux removes the wall, so you can just walk up to success and make it your own.
--
Reinventing the wheel is fun. You get to redefine pi.
Offline