FileSpecOrder

From RdiffBackupWiki

Jump to: navigation, search

An option to indicate whether the first or last file match takes precedence would be handy. Sometimes it's useful to know that the first include/exclude match that applies to a file is the one that applies. Other times it would be nice to have the last match match apply - it allows you to filter files through include/exclude patterns like a seive, for example: "Include everything, exclude /var/log, but include /var/log/mail." It would also make file specification unambiguous.

Best.

rpeterso at mtholyoke dot edu


I'm not sure I understand the suggestion. Can't you already do your example with "--include /var/log/mail --exclude /var/log"? And file specification is already unambiguous because they are in order priority (earlier means higher priority).

Personal tools