Rsync: exclude directory - LinuxConfig.org

The rsync command on a Linux system can be used to synchronize the contents of two directories. By default, rsync will transfer all files and directories over to the specified destination. If there's a subdirectory you wish to exclude from the transfer, rsync gives us two options for doing so.


This is a companion discussion topic for the original entry at https://linuxconfig.org/rsync-exclude-directory