this post was submitted on 11 Sep 2023
10 points (100.0% liked)
Free and Open Source Software
17926 readers
41 users here now
If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Here's a script from GPT4:
This script can be run with Termux from the root of your internal storage. Usually /sdcard or /storage/emulated/0. Do not confuse this with running from root if you are rooted.
Before using a script that interacts with your files you should backup anything that is important just in case.
Furthermore, if you comment out:
By adding a # in front of it like this:
You can run the script and see what files the script would delete without actually deleting them. I would recommend doing this as I have not tested this script.
Haha thats so cool, I'll try that option as well :)