rsync --delete not working (no wildcards)

2013-01-30 Thread Stewart Jeacocke
>>On 01/28/13 17:02, Stewart Jeacocke wrote: >> I'm trying to copy some directories with rsync and would like to >> delete files from the destination if they no longer exist in the >> source. >> >> I'm using the following command: >> >> rs

rsync --delete not working (no wildcards)

2013-01-28 Thread Stewart Jeacocke
Hi, I'm trying to copy some directories with rsync and would like to delete files from the destination if they no longer exist in the source. I'm using the following command: rsync -v --archive --hard-links --delete --force --filter=':/.rsync-filter' /opt/ /mnt/backup/opt/ /opt does not contain