Write system application in agi exec command

hi i am using asterisk system command with fast agi exec comand

rsync -v -e ssh /var/lib/asterisk/sounds/filename.wav freepbx@192.168.1.8:/var/lib/asterisk/sounds/

when i run that command in dialplan its working but with exec command not working, how can i write system command in exec

please help me to write