Quick Tip: rsync –exclude-from syntax

By | November 10, 2020

The rsync --exclude-from option specifies a file that contains exclude patterns (one per line). It is very picky about the way the pathname is entered. It appears to be a path relative to the current directory. The only option that worked was “--exclude-from=./filename“. A full path from the root directory didn’t work, nor did a simple file name located in the same directory.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.