[HELP] Create .sh to delete select folders.

Search This thread

ygtenos

Senior Member
Nov 21, 2012
198
111
Rome
Xiaomi Poco F3
As the title says, I need a terminal emulator script to quickly delete some folders from the data/data/*appname* partition.
All these folders are named "temp" but they are all subfolders of subfolders of subfolders.
Is there a terminal emulator command to identify all the "temp" subfolders (or subsubsubfolders) in a directory and delete them or do I have to type the location of every single one of them (like -rm data/data/app/sub/sub/temp ?)

Thanks in advance for your help.
:)