# cargs sample config file # rsync backups was a major motivation for writing cargs # Program to run rsync # Switches for the program --archive --verbose #--relative --delete #--delete-excluded #--filter '. /path/to/filter/file' # Don't forget to comment the next one out! --dry-run # Non-switch arguments # src path # (trailing / on src dir means DON'T include the last dir from src) / # dest path /another/dir/cats/dogs # Can be a remote path #ren@spumco.org:/foo/bar # Anything extra, maybe for redirection? # We want rsync's stderr in the log too 2>&1 # Some other possibilities: #2>&1 | tee -a /var/tmp/bak-foo.log #2>&1 > /var/log/bak-foo.log