-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --update skips files that are newer on the target than the source. If the file does not exist on the source then there is no concept of "newer".
- --delete deletes things that are on the target but not the source (and not excluded). It can't be associated with --newer because there is no source file to compare it to. On 08/24/11 17:52, Eberhard Moenkeberg wrote: > Hi, > > On Wed, 24 Aug 2011, Kevin Korb wrote: > >> Unfortunately rsync has no concept of "newly created". > > --update skip files that are newer on the receiver > > doesn't prevent deleting for files not existing on source side? > > >> On 08/24/11 15:38, Saman Ghannadzadeh wrote: >>> Hi all, >>> >>> I was wondering if it's possible to make the --delete option to not >>> delete files that have been newly created on the destination site but >>> which do not yet exist on the source side. >>> >>> However it should still delete files that did exist on the source side >>> but were subsequently deleted. >>> >>> Many Thanks, >>> Saman >> >> - -- >> ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ >> >> Kevin Korb Phone: (407) 252-6853 >> Systems Administrator Internet: >> FutureQuest, Inc. ke...@futurequest.net (work) >> Orlando, Florida k...@sanitarium.net (personal) >> Web page: http://www.sanitarium.net/ >> PGP public key available on web site. >> ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ >> >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v2.0.17 (GNU/Linux) >> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ >> >> iEYEARECAAYFAk5VU8QACgkQVKC1jlbQAQcaRACg1lo4WTxHeG007KPQD7+nfqoR >> dFYAnjgIPo6B84cM8JzVTRtzLF7hqAjL >> =bvY+ >> -----END PGP SIGNATURE----- >> -- >> 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 >> > > > Viele Gruesse > Eberhard Moenkeberg (emoe...@gwdg.de, e...@kki.org) > - -- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ Kevin Korb Phone: (407) 252-6853 Systems Administrator Internet: FutureQuest, Inc. ke...@futurequest.net (work) Orlando, Florida k...@sanitarium.net (personal) Web page: http://www.sanitarium.net/ PGP public key available on web site. ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5VeQYACgkQVKC1jlbQAQcBrQCg/eI56yDCBtCUOctQ7nJPJATe 3T0AnAiCAgXgAAdZd8bTqqfDNPcRURf5 =r4j5 -----END PGP SIGNATURE----- -- 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