Re: Exclude directories based on a dot file presence ?
EricZolf <[email protected]> Thu, 05 Jan 2023 06:45:50 +0000
| Newsgroups | gmane.comp.sysutils.backup.rdiff-backup.general |
|---|---|
| Message-ID | <[email protected]> |
Yes you did, check --include-if-present,--exclude-if-present in the man pages. KR, Eric On January 4, 2023 9:52:46 AM UTC, Sylvain Munaut <[email protected]> wrote: >Hi, > >I'm wondering if something like this exists : > >I'd like some directories to always be excluded from backups but >instead of having to everytime list them and potentially making >mistakes, I'd like every directory that has a ".rdiff-backup-ignore" >file (for instance) to never be included in backups. >Does something like that exists ? I couldn't see anything from the >doc, but maybe I missed it. > >Cheers, > > Sylvain Munaut >