Perform advanced file synchronization (rsync)
rsync -gloptruc --info=progress2 --human-readable --stats --delete-missing-args --delete --delete-excluded --ignore-errors --zc=zstd --exclude='*.log' --exclude='*.tmp' --include='*/' --include='*.jpg' --include='*.png' /home/user/Documents/ /mnt/backup/
Syncs files using rsync with detailed progress, compression, exclusion/inclusion rules, and deletion of missing or excluded files.