rsync is fantastic except for one usual feature we want from it .. please help ?

Julian Pace Ross linux at prisma.com.mt
Mon Jun 22 07:32:38 GMT 2009


You're probably looking for the option " --existing".
You can also play around with  --update, --ignore-existing, and
--remove-source-files off the top of my head... not sure which combination
will work for you.

2009/6/22 Low, Alex <Alex.Low at asgardwealthsolutions.com.au>

>  Hi,
>
>
>
> Rsync is a fantastic program, and it does everything we need in terms of
> file transfer and syncing source and destination file directories.
>
>
>
> We do have a situation now where we need rsync to transfer the files once
> only from the source directory.  Please let me briefly explain
>
> using a simple generic exmple:
>
>
>
> 1. At t0, we transfer f0 location A to location B
>
>
>
> 2. At t1, 10 new files are added to Location A
>
> Therefore, rysnc faithfully transfers all 10 new files to location B
>
> At location B, we now have f0 to f10.
>
>
>
> 3. At t2, *f0 to f3* are deleted from location B, and we don’t ever want
> the deleted files to be copied again from location A
>
>
>
> 4. At t3,  rysnc waits up, transfers files f0 and f10 again plus any new
> files that may have been added.
>
>
>
> So, at location B, we end with the deleted files *f0 to f3* again.
>
>
>
> Can you please think of a way we can soft-switch rsync NOT to do step 4
> above ?
>
>
>
> Our help much appreciated.
>
>
>
> Regards,
>
>
>
> *Alex low*
>
>
>
> Asgard Capital Management Limited
>
> Level 39, 152-158 St Georges Terrace, PERTH WA 6000
> ( (08) 9415 5758  ( 0423 820 728
> 7 (08) 9481 8481
> alex.low at asgardwealthsolutions.com.au*
> www.asgard.com.au *
>
> *Asgard Wealth Solutions**
> *Advice. Solutions. Confidence.
>
>
>
> =======================================================
> IMPORTANT INFORMATION
>
> This message and any files transmitted with it are confidential and should
> be read only by those persons to whom it is addressed. If you have received
> this message in error, please notify us immediately by way of reply. Please
> also destroy and delete the message from your computer. Any unauthorised
> form of reproduction of this message is strictly prohibited.
>
> It is the duty of the recipient to virus scan and otherwise test the
> information provided before loading on to any computer system. No warranty
> is given or made by Asgard Wealth Solutions Limited, Asgard Capital
> Management Limited or SECURITOR Financial Group Limited that the information
> is free of a virus or any other defect or error and they will not be liable
> for the proper and complete transmission of the information contained in
> this communication, nor for any delay in its receipt.
>
> Any views expressed in this message are those of the individual sender,
> except where the sender specifically states they are the views of Asgard
> Wealth Solutions Limited, Asgard Capital Management Limited or SECURITOR
> Financial Group Limited, as the case may be.
>
> =======================================================
>
> --
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options:
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
>
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the rsync mailing list