Syncing Files
Hello,
We have to sync 2 directories. The problem is both the directories are huge. Directory A is 40GB and Directory B is 3 GB. We want to sync Directory B to A. We would like to do the following:
1) Both A & B has lot of same files and directories with different time stamps. If B has an updated directory or file we would like to sync that to A ( overwriting those in A ) . If A has the updated one, then that file shouldn't be synced.
2) Sync all files / Directories in B that are not present in A to A.
3) We have to ensure no data loss.
How is this done? Can this be done with "rsync". Please provide the different options of rsync for this.
Regards
Shankar
Last edited by sparkshankar; 10-24-2011 at 08:37 AM.
|