linux delete directories matching pattern 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 {} +