[LUAU] rsync question

Brian Chee chee at hawaii.edu
Wed Aug 27 22:24:40 PDT 2014


I thought so too, but all the docs I've been finding seems to indicate that
it deletes....which doesn't work for me.

Brian chee
 On Aug 27, 2014 6:34 PM, "Dwight Victor (Gmail)" <dwight.victor at gmail.com>
wrote:

> isn't the default behavior to keep files on the target?  i think you have
> to use the --delete option to force delete from the target.
>
>> So I'm trying to find if rsync has an option to NOT delete remote files if
>> they're no longer on the local machine.
>>
>> The issue is that I can't afford to lose any data off my sensors. I've got
>> the remote server mounted in fstab so that it looks like two local
>> directories.
>>
>> I want to make sure everything in the local directory is copied and synced
>> (updated) to the remote. But if someone deletes a file on the local
>> machine
>> but the file exists on the remote side, I don't want that remote file
>> deleted.
>>
>> I've been searching like crazy, but rsync always seems to want to delete
>> the remote file.
>>
>> Should I consider something other than rsync?
>>
>> /brian chee
>>
>>
>>
> _______________________________________________
> LUAU at lists.freesoftwarehawaii.org mailing list
> http://lists.freesoftwarehawaii.org/listinfo.cgi/luau-
> freesoftwarehawaii.org
>


More information about the LUAU mailing list