Adjust the path to suit find /var/lib/freeswitch/recordings/*/archive/* -name '*.wav' -mtime +7 -exec rm {} \;