I have a linux machine that is connected to my internal network which I use to keep backups on. Is there a way to keep 2 folders (one on the backup linux box and one on the linux machine I use as my workstation) synchronized (i.e. any file written/deleted/modified in on folder is automatically reflected in the other folder)? The backup linux machine already has samba set up on it.
I think the cp command has an option for update mode, where it won't overwrite destination files that have been modified after the source file. You could probably write a script to execute that command for a directory, in both directions.
Thanks. I'll check that out.