Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   Synchronize two folders in both way; criteria: last changed (http://www.linux-archive.org/debian-user/131663-synchronize-two-folders-both-way-criteria-last-changed.html)

Dvorzhetsky 07-25-2008 05:23 PM

Synchronize two folders in both way; criteria: last changed
 
Hello,

First I'll explain the situation: I have an archive folder with images,
text and other type of files. I used to backup this folder from time to
time but at some point I stop doing that and got confuse (or messy:) and
start to edit files in the backup and/or to add files to the 'current'
folder.


I'd like to rationalized that by synchronizing the backup and current in
both way:


- keeping only the version of the files which have been the most
recently changed.
- if a file or a subfolder is present in one folder and not the other
I'd like to always keep it.


I look into mann rsync but I'm always asked to choose one source and one
destination, which is obviously not what I want to do. Is there a way to
do that with rsync? How?


Maybe with another software?

can someone give a hand?
Cheers!


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


All times are GMT. The time now is 09:00 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.