On Sat, 2009-11-28 at 00:06 +0100, Stefan Nowak wrote: > Is there a possibility, so that --max-size AFFECTS --delete actually? > > Situation where it makes sense: Imagine that I had the rule --max- > size=1M and my backup-storage is satisfying. But one day it ain't > enough anymore, and I decide to lower down to --max-size=512K. The > files larger than 512K at the destination DO NOT GET DELETED! > Currently the only solution is to rm -r /my/backup/* and then start > the process again with the new size limitations.
Rsync currently does not have such an option. > The content of this newsgroup post, makes me think, that in earlier > versions --max-size may have once AFFECTED --delete: > http://article.gmane.org/gmane.network.rsync.general/12024 That thread was about a different issue: avoiding the deletion of destination files that don't match the --min-size or --max-size transfer rules. The same issue for file-type transfer rules was: https://bugzilla.samba.org/show_bug.cgi?id=4378 But all of these issues are about making the transfer rules behave more like ordinary exclude rules (optionally at least), so it may make sense to deal with all of them at once. I have generalized bug 4378 accordingly. -- Matt -- 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