os x terminal -remove files older than x days trying to create a scripts that deletes files older than X days. It seemed straight forward enough but all files seem to be getting removed?

find /Volumes/Groups/Projects/530_BFAMI/test/ -ctime +30 -print -exec rm {} \;


any ideas welcome!? 

Also would be good to print file information for matches as maybe my dates are misleading in finder?
Never suggesting -exec rm ....

rm is simply too dangerous command. Always dry-run first. IMHO it is better using this:

find /Volumes/Groups/Projects/530_BFAMI/test/ -ctime +30 -print0 | xargs -0 -n1


this will show the dry-run and only when you satisfied you can add the rm to the end

find /Volumes/Groups/Projects/530_BFAMI/test/ -ctime +30 -print0 | xargs -0 rm


If you start using this piped to xargs version, you can always add more filters, like:

find /some/where -mtime +3d -print0 | grep -ziE '\.(jpg|png|gif)$' | xargs -0 rm


and similar (more) powerful combinations.