linux delete directory matching pattern in subdirectories code example
Example: how to erase folder that match characters in linux
find . -type d -name 'received_*_output' -exec rm -r {} +
find . -type d -name 'received_*_output' -exec rm -r {} +