find /usr/local/freeswitch/log/freeswitch.log.*.1 -mtime +5 -exec rm -rf {} \;
解读:
删除5天前的freeswitch日志
find /usr/local/freeswitch/recordings/ -type d -mtime +10 -exec rm -rf {} \;
删除10天前的freeswitch录音