Mailing List Archive

exclude dir several levels deep but not others same name
Imagine I wanted to --exclude=dir/ But not just throught a hierarchy
I'm running rsync on.

What is the proper syntax of that kind of `--exclude=' ?


top level
./dir
next level
./dir
next level
./dir <=this one to be excluded


But there are same name dir in both levels above that I do not want to
exclude.


_______________________________________________
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.
exclude dir several levels deep but not others same name [ In reply to ]
Ubuntu-21.10

Imagine I wanted to --exclude=dir/ But not just throughout a hierarchy
I'm running rsync on.

What is the proper syntax of that kind of `--exclude=' ?


top level
./dir
next level
./dir
next level
./dir <=this one to be excluded


But there are same name dir in both levels above that I do not want to
exclude.


_______________________________________________
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.