rsync ignore if file exists code example
Example 1: rsync only new files
rsync -r source_folder/ target_folder/ --ignore-existing
Example 2: rsync only updated files
rsync -r source_folder/ target_folder/ --update
rsync -r source_folder/ target_folder/ --ignore-existing
rsync -r source_folder/ target_folder/ --update