Hot answers tagged

1

I forgot array is such a thing. I solved my own problem # Assigning app-name into $apps apps=($(ls /data/data/)) # Looping each app for app in "${apps[@]}"; do # Deleting $app/cache/ contents rm -rf /data/data/$app/cache/* done


1

You can use /data/local/tmp, does not need root.


Only top voted, non community-wiki answers of a minimum length are eligible