I have to delete 60 days older files using find command. I am using following command to delete:
find /etc/tertiary/files/ -type f -name "CDT42D.FDI20T$*.txt" -mtime +60 -print \
| awk -F"/" '{print $NF}' \
| xargs -n 50 rm
but it is failing as the file name has '$' , please suggest what changes needs to be done to above command in order to delete files having special character($) in their names.