T
Termuxā€¢3mo ago
gilgamesh

No sync between Android filesystem and termux

as the images show, there exists a file.pdf in termux that isn't showing up in google files. I am open to other methods of editing/downloading a file in termux and accessing it via gfiles, but do not want to use thirdparty file manager applications to view this file. any help?
No description
No description
Solution:
$ termux-media-scan -r ~/storage/shared updates your indexing or whatever of the files on your phone. Without this they will appear there with noticeable delay. All applications which don't scan memory directly will have this.
Jump to solution
31 Replies
gilgamesh
gilgameshOPā€¢3mo ago
~/storage/downloads $ file file.pdf

file.pdf: PDF document, version 1.4, 977 page(s)
~/storage/downloads $ file file.pdf

file.pdf: PDF document, version 1.4, 977 page(s)
Catinette
Catinetteā€¢3mo ago
are these files inside termux? (first screenshot) did you set your file manager for SAF?
gilgamesh
gilgameshOPā€¢3mo ago
saf?
Catinette
Catinetteā€¢3mo ago
you file manager needs to be SAF complient to access termux folders
gilgamesh
gilgameshOPā€¢3mo ago
oh i missed that part i would like to think google files would be compatible with its own os, no?
Catinette
Catinetteā€¢3mo ago
nope it will give you access to termux... by launching it i use total commander on android for that ex:
Catinette
Catinetteā€¢3mo ago
No description
No description
No description
gilgamesh
gilgameshOPā€¢3mo ago
is an external file manager really the only way?
Catinette
Catinetteā€¢3mo ago
first i choose the entry to set a new folder, i choose termux, and then it's added
gilgamesh
gilgameshOPā€¢3mo ago
any way to open via xdg-... or termux-api?
Catinette
Catinetteā€¢3mo ago
@gilgamesh everything is there what's wrong with another file manager tho? google one is faaaaar from being the best, so, why are you using that one and not another?
gilgamesh
gilgameshOPā€¢3mo ago
i have a distaste toward other Android file managers due to lack of support and my last experience with 'Awesome files' (full of ads) was FOSS too
Catinette
Catinetteā€¢3mo ago
you can try total commander, it has no ads at all, no premium feature no nothing (it even has some plugins for ftp, google drive and other thing)
gilgamesh
gilgameshOPā€¢3mo ago
do you use Dropbox with it?
Catinette
Catinetteā€¢3mo ago
https://www.ghisler.com/android.htm i don't think it has dropbox plugin
gilgamesh
gilgameshOPā€¢3mo ago
dammit
Catinette
Catinetteā€¢3mo ago
actually, it has you'll have to check if it works, last update is from 2023 but do not get total commander from playstore, use the official website too many restrictions cause of google policy
gilgamesh
gilgameshOPā€¢3mo ago
aight I'll check it out after i try termux-api thanks
Catinette
Catinetteā€¢3mo ago
just in case, that's where you can find the unrestricted version https://www.ghisler.ch/board/viewtopic.php?t=76644 here for plugins https://www.totalcommander.ch/android/plugins.htm main difference is the ability to use total commander to install apk directly
gilgamesh
gilgameshOPā€¢3mo ago
why isn't there an fdroid version? šŸ˜¦
Catinette
Catinetteā€¢3mo ago
https://www.ghisler.com/fdroid.htm not sure it is the unrestricted one, but go for it
gilgamesh
gilgameshOPā€¢3mo ago
oh okok ty
gilgamesh
gilgameshOPā€¢3mo ago
broken
No description
Catinette
Catinetteā€¢3mo ago
works on fdroid
fisher
fisherā€¢3mo ago
you need to sync all repos after adding it
No description
fisher
fisherā€¢3mo ago
google's file manager isnt reliable at all, its more of a file cleaner switch to totalcmd or material files
Solution
Dr. Jaska
Dr. Jaskaā€¢3mo ago
$ termux-media-scan -r ~/storage/shared updates your indexing or whatever of the files on your phone. Without this they will appear there with noticeable delay. All applications which don't scan memory directly will have this.
gilgamesh
gilgameshOPā€¢3mo ago
THANK YOU another file manager is such bloat gfiles gets work done in a material you way, plus third-party storage services
Catinette
Catinetteā€¢3mo ago
gfiles third party storage wont let you access termux folder tho it is not SAF compatible totalcmd is
Want results from more Discord servers?
Add your server