The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Log4j overwriting logs! ..sometimes... .Chris. UNIX for Dummies Questions & Answers 1 03-12-2008 07:46 AM
sync remote folders prvnrk Shell Programming and Scripting 0 02-15-2008 02:58 PM
Efficient rsyncrypto hides remote sync data iBot UNIX and Linux RSS News 0 02-01-2008 02:40 AM
SFTP:error while creating folders on remote server vgs Shell Programming and Scripting 0 08-01-2007 01:01 PM
Remote compare of folders sunilav Shell Programming and Scripting 1 04-04-2007 02:04 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 02-15-2008
Registered User
 

Join Date: Jul 2007
Posts: 110
how to sync remote folders without overwriting

Hi,

I need to sync 2 remote folders so i setup with rsync which is working very fine. But, there comes another requirement to maintain multiple versions of files on destination (NOT to overwrite the destination file).

If there is difference between source file and destination file, it must create new file on destination (e.g., file.1 , file.2 etc.) but not overwrite the existing one.

Is it possible with rsync? or do i need to go for any other solution? Pls advise me.

TIA
Prvn
Reply With Quote
Forum Sponsor
  #2  
Old 02-15-2008
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,298
rsync will not do what you need. The destination will be a copy of the source. No duplications or new filenames allowed. rsync will delete as well as copy and update files.
Reply With Quote
  #3  
Old 02-15-2008
Registered User
 

Join Date: Jul 2007
Posts: 110
Thank you Jim for your response.

If rsync can't do, is there any other alternative?

Pl suggest


Thanks
Prvn
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:30 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0