I'm trying to figure out how to exclude certain folders but I'm finding little to no information online on how exclude files worked.
I'm trying this to no avail:
Also tried with just one *. I want to skip any folder that is called /saves/.
Also when I enter a full path, what is the context of the path?
Like if I do rsync -vru /data/ /source
What do I put if I want to exclude /data/folder/ do I put just /folder/ or do I put /data/folder?
I spent hours searching and it seems this is an undocumented feature of rsync.
Also, how do I force it to delete folders if it gets deleted in the source? I just get "cannot delete non empty directory" errors. Tried --force no luck.