On Tue, Jul 16, 2024 at 05:56:28PM GMT, Francis.Montagnac--- via rsync wrote:
> > I want to exclude everything in ~/.local/share **except** the file:- > > /home/chris/.local/share/evolution/calendar/system/calendar.ics > > I have the following in my rsync-filter file to exclude ~/.local/share > > - .local/share > > Can I simply add the following before the exclude line:- > > + /home/chris/.local/share/evolution/calendar/system/calendar.ics > No. Assuming you are doing this backup from your homedir, you should > add to your .rsync-filter file: > + /.local/ > + /.local/share/ > + /.local/share/evolution/ > + /.local/share/evolution/calendar/ > + /.local/share/evolution/calendar/system/ > + /.local/share/evolution/calendar/system/calendar.ics > - /.local/share/** But but but, will this not also include everything else in .local/share/evolution/calendar/system/ ? As far as I understand that is not what the OP wants. -- Ian -- 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