You are not logged in.

#1 2008-12-24 17:38:16

playdafunkimuzic
Member
Registered: 2008-10-25
Posts: 220

Want to synchronize folders, program recommendations!

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

#2 2008-12-24 17:43:08

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Want to synchronize folders, program recommendations!

Rsync?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2008-12-24 18:54:50

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Want to synchronize folders, program recommendations!

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

#4 2008-12-25 10:20:52

hacosta
Member
From: Mexico
Registered: 2006-10-22
Posts: 423

Re: Want to synchronize folders, program recommendations!

dropbox

Offline

#5 2008-12-25 17:23:20

Square
Member
Registered: 2008-06-11
Posts: 435

Re: Want to synchronize folders, program recommendations!

+1 for dropbox.

http://www.getdropbox.com

Last edited by Square (2008-12-25 17:27:20)


 

Offline

#6 2008-12-25 21:07:17

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Re: Want to synchronize folders, program recommendations!

Definitely dropbox smile

Offline

#7 2008-12-25 22:44:30

zergu
Member
From: Poland
Registered: 2005-10-10
Posts: 28
Website

Re: Want to synchronize folders, program recommendations!

Subversion ;D

Offline

#8 2008-12-25 22:51:18

n0p
Member
Registered: 2008-12-25
Posts: 7

Re: Want to synchronize folders, program recommendations!

rsync smile

Offline

#9 2008-12-25 23:57:17

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Want to synchronize folders, program recommendations!

If both machines are always on the network, avoid duplication and set up a share - nfs, sshfs, etc.

Offline

#10 2008-12-26 12:42:49

axel
Member
Registered: 2007-12-10
Posts: 77

Re: Want to synchronize folders, program recommendations!

Check grsync. It's a graphical interface for rsync. It will make things much easier.

Offline

#11 2008-12-26 13:22:34

dav7
Member
From: Australia
Registered: 2008-02-08
Posts: 674

Re: Want to synchronize folders, program recommendations!

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

Board footer

Powered by FluxBB