简体   繁体   中英

Android: Gain file access to OneDrive folders through terminal app (Termux)

I have a set of Python3 scripts that I keep in my OneDrive cloud. I would like to find out a way to access and run these files from/on my android phone. I'm currently using the app Termux as a terminal, so far, I've been able to go through various folders in the /storage/ directory. I cannot remember or track down where I read this, but one of the folders containing offline OneDrive folders and files is supposed to be in /storage/shared/Android/data/ , however, I am denied access from ls'ing in such a folder. Ultimately, I'd really like to know if there is a way for me to access the folders in my OneDrive the same way I do from my terminal on my computer. I just need to run these scripts on my phone.

I ended up utilizing rclone , to be able to copy over files to and from my phone's and my OneDrive's directories. It effectively worked like similarly to git , except the connection was made directly to OneDrive. The tutorial I first started following was here , and the rclone site is here

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