Link Search Menu Expand Document

When rsync Delete doesn't work

David Grant explains why rsync might silentely refuse to delete anything. It happens when you call rsync without a trailing slash in the source path like this: 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