Hi,
you keep trying to use :execute when it's unnecessary, the main issue is that $D should be %D:
command rsyncCopy rsync -av --delete %c %D/
A version with :execute should have doubled % to postpone expansion until :! is run:
command rsyncCopy :execute '!rsync -av --delete %%c %%D/'