A question about rsync filters, not sure if I understand the man page

Francis.Montagnac at inria.fr Francis.Montagnac at inria.fr
Wed Jul 17 05:22:07 UTC 2024


On Tue, 16 Jul 2024 11:12:54 -0700 Ian Z via rsync wrote:

> On Tue, Jul 16, 2024 at 05:56:28PM GMT, Francis.Montagnac--- via rsync wrote:

>> 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/ ?

No no no, because

  + /.local/share/evolution/calendar/system/

will not include recursively this directory, unlike

  + /.local/share/evolution/calendar/system/**

-- 
francis



More information about the rsync mailing list