find all the directories starting with the name "someNamePrefix" which have not been modified in the last 10 days and force delete them
find /somePath -type d -name ‘someNamePrefix*’ -mtime +10 -print | xargs rm -rf ;