How can I exclude files by default with rsync? Here is how my normal rsync syntax starts out:
rsync --exclude ".ht*" --exclude "error_log" --exclude ".DS*" --exclude "old" ...
I've seen a lot of mention of configuring the /etc/rsyncd.conf
file, but maybe that's more for the daemon than the rsync command.
Is it possible to have some default excludes for rsync when called from the command line like in my default syntax above?