remove directory and contents linux
rm -r path
linux command to delete direcoty with specified name recursivel
# First find the directory names as to not accidentally delete important directories
find . -type d -name __pycache__
# If you want to recursively delete its contents, replace -exec rmdir {} ; by -delete or -prune -exec rm -rf {} ;. Other answers include details about these versions, credit them too.
find . -type d -name __pycache__ -prune -exec rm -rf {} ;
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us