简体   繁体   中英

Deleting a folder on android using shell script

I already have this code, but I don't know how to infinite delete the folder.

#!/system/bin/sh
rm -r /data/data/com.tencent.ig/files/tss_tmp
touch /data/data/com.tencent.ig/files/tss_tmp

I'm using an app on playstore .

well i just solve my own question

#!/system/bin/sh
while true
do
rm -r /data/data/com.tencent.ig/files/tss_tmp
touch /data/data/com.tencent.ig/files/tss_tmp
done

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM