Results 1 to 3 of 3
Hi,
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-12-2004 #1Just Joined!
- Join Date
- May 2004
- Location
- Malta
- Posts
- 41
Synchronizing folder
Hi,
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.
Thanks
is-serp
- 12-13-2004 #2Linux Newbie
- Join Date
- Nov 2004
- Location
- New York
- Posts
- 150
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.
\"Nifty News Fifty: When news breaks, we give you the pieces.\" - Sluggy Freelance
- 12-13-2004 #3Just Joined!
- Join Date
- May 2004
- Location
- Malta
- Posts
- 41
Thanks. I'll check that out.
is-serp


Reply With Quote
