rm command help needed
rm command help needed
i have one folder consist of lot of file for every 6 hours i need to delt all file in that folder so i set cron to do this,but iam not sucessful in rm command here i used is
find /path/of/the/folder -type f -exec rm -rf {}\;
error iam getting is find: missing argument to '-exec'
any help for correct command