[aklug] Re: Rsync file updating

From: barsalou <barjunk@attglobal.net>
Date: Sat Dec 11 2010 - 14:01:36 AKST

As I mentioned before, this has been a great thread.

Anyone open to presenting this sometime in January or February?

Mike B.

Quoting "Shane R. Spencer" <shane@bogomip.com>:

> On 12/05/2010 12:11 AM, Christopher Howard wrote:
>> Question about rsync: say you are syncing local directory =20
>> "localdir" to remotedir "remotedir". If a file in localdir is =20
>> changed, but not deleted or moved, does rsync /delete/ the =20
>> corresponding file in remotedir and /recreate/ it? (And, hence, =20
>> create a new file with a new inode...) Or does it just /truncate/ =20
>> the corresponding remote file and give it new data?
>>
>
> If the file changes locally the remote file is not deleted until =20
> it's replacement arrives.
> If you look for hidden files in a directory during a transfer =20
> (pause rsync w/ ctrl-s,
> unpause w/ ctrl-q) you will see that it writes to a temporary file =20
> in the destination
> directory.
>
> - Shane
> ---------
> To unsubscribe, send email to <aklug-request@aklug.org>
> with 'unsubscribe' in the message body.
>

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Sat Dec 11 14:01:43 2010

This archive was generated by hypermail 2.1.8 : Sat Dec 11 2010 - 14:01:43 AKST