I'm on MAC OS Ventura 13.1. I created the following filter file for rsync, and saved it as rsync_filter.conf
.
+ */
+ Documents/***
+ Music/***
+ Pictures/***
+ Work/***
- *
Then, I call
rsync -avm --delete --filter="merge rsync_filter.conf" /Users/Me /Volumes/Backup
It does backup the directories I specified, but it also syncs /Users/Me/Library
, complaining about denied permissions while doing so. I does not sync any other directories, but content of Library
appears in the backup.
What is so special about Library
and how do I stop it from syncing? Even including - Library/*
in the filter file doesn't help.