rsync -az -e ssh --delete /data server:/data
It just won't delete anything. It will when running it like this: rsync -az -e ssh --delete /data/ server:/data
rsync -az -e ssh --delete /data server:/data
It just won't delete anything. It will when running it like this: rsync -az -e ssh --delete /data/ server:/data