[Linux-disciples] scp/rsync question

Adam Rosi-Kessel adam at rosi-kessel.org
Wed Jan 17 12:59:47 EST 2007


rdiff-backup could be used to upload files to the webserver. It would
preserve historical versions of every file that was modified. You would
need to make sure to delete older versions periodically to not use too
much space (using rdiff-backup --remove-older-than). But maybe the rsync
-b option meets your needs more simply.

On 1/17/2007 12:53 PM, Jamie Forrest wrote:
> Just uploading files to the web server (not mirroring anything), so I
> think rdiff-backup wouldn't be appropriate.  But maybe I don't know what
> I'm talking about.
> 
> On Jan 17, 2007, at 12:39 PM, Adam Rosi-Kessel wrote:
> 
>> On 1/17/2007 12:37 PM, Jamie Forrest wrote:
>>> Is there a way to have scp or rsync rename a file it's copying if a file
>>> with that name already exists in the remote location?
>>
>> rsync -b renames existing target files with a ~ extension. You might
>> consider rdiff-backup as a better choice, depending on what you're doing.
>> _______________________________________________
>> Linux-disciples mailing list
>> Linux-disciples at lists.bostoncoop.net
>> http://lists.bostoncoop.net/mailman/listinfo/linux-disciples
>>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Linux-disciples mailing list
> Linux-disciples at lists.bostoncoop.net
> http://lists.bostoncoop.net/mailman/listinfo/linux-disciples



More information about the Linux-disciples mailing list