I would like to setup a tasker profile to check every predetermined time for any apps not on my approved list (BaselineApps.txt) and uninstall them. I am a noob to shell scripting and tasker. This is what I got so far, it might not be the most efficient way to do it.
- I run the following command via Termux Task plugin.
pm list packages >/storage/emulated/0/Apps.txt diff –unchanged-line-format= –old-line-format= –new-line-format=’%L’ /storage/emulated/0/BaselineApps.txt /storage/emulated/0/Apps.txt | sed ‘s/^[^:]*://’ >/storage/emulated/0/NewApps.txt
Read file NewApps.txt to variable %Apps
ArraySet %Apps value %Apps
For each %eachapp in %Apps()
- Run Shell pm uninstall %eachapp
- End for
For the most part it works, except it errors out sometimes. Can someone help me?
✓ Extra quality
ExtraProxies brings the best proxy quality for you with our private and reliable proxies
✓ Extra anonymity
Top level of anonymity and 100% safe proxies – this is what you get with every proxy package
✓ Extra speed
1,ooo mb/s proxy servers speed – we are way better than others – just enjoy our proxies!
USA proxy location
We offer premium quality USA private proxies – the most essential proxies you can ever want from USA
99,9% servers uptime
No usage restrictions
Perfect for SEO
We are working 24/7 to bring the best proxy experience for you – we are glad to help and assist you!