How to clean app cache using script every time the phone boot?
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 &quot;${apps[@]}&quot;; do 

  # Deleting $app/cache/ contents
  rm -rf /data/data/$app/cache/*
  done