Closed zavocc closed 6 months ago
It works fine on my device(Android 14), tried checking permissions and installing termux-am
.
~ $ termux-saf-rm -h
Usage: termux-saf-rm uri
Removes the file or folder at the given URI. See other termux-saf-* commands for more info.
Returns 0 on success, 1 if the file or folder couldn't be deleted and 2 if another error occurred.
-h show this help
~ $ termux-saf-rm content://com.android.externalstorage.documents/tree/primary%3AMT2/document/primary%3AMT2%2Faa
~ $
It returns nothing but the folder has been deleted successfully.
SAF APIs are not available on F-Droid. Will be released along with termux app pre-release. Use GitHub builds instead.
Problem description I'm trying to manage folders through SAF, however
termux-saf-managedir
doesn't seem to show a folder selection screen. It just hangs without showing anything.Steps to reproduce
Disabled battery optimizations for both apps
Expected behavior I believe it should open documentsui folder picker
Additional information Post output of command
termux-info
. If you are rooted or have access to adb then capture a logcat withlogcat -d "*:W
, from a adb or root shell.Logcat: logcat.txt
Termux-info: