#!/bin/bash LOG=/var/log/rsync_log_rlz.log echo "$(date +'%F %H.%M.%S') ---------START---------" >> $LOG rsync --archive --exclude='katalog' --exclude='plik.txt' -e ssh --delete /home/user01/logs/ user01@server02:/home/user01/logs_from_server01/ >> $LOG