T
Termux8mo ago
koomball

how to move files into termux?

Hello I am trying to move a file into the home directory of termux but haven't been able to find any way to do so. Closest I got was by tring to move it within ACode which gives this error.
Solution:
mv ~/storage/shared/downloads/thatfile ~/web-service-gin/
Jump to solution
22 Replies
koomball
koomballOP8mo ago
Android 11
Dr. Jaska
Dr. Jaska8mo ago
@koomball move files into shared storage by however and then use Termux to copy/move those files into its files
koomball
koomballOP8mo ago
Where's the shared storage located? I have run the command to make it and it says it exists but haven't been able to find it
Dr. Jaska
Dr. Jaska8mo ago
~/storage/shared
koomball
koomballOP8mo ago
Dr. Jaska
Dr. Jaska8mo ago
That place. All of those are directories which are in it.
koomball
koomballOP8mo ago
so how can I move the file from downloads to home/web-service-gin
Dr. Jaska
Dr. Jaska8mo ago
termux-setup-storage
koomball
koomballOP8mo ago
I have run that command already
Solution
Dr. Jaska
Dr. Jaska8mo ago
mv ~/storage/shared/downloads/thatfile ~/web-service-gin/
Dr. Jaska
Dr. Jaska8mo ago
You may need to mkdir ~/web-service-gin first
koomball
koomballOP8mo ago
Is the shared stuff seperate? Moved the file its no longer in its original location but it also didn't go to the folder directed not sure where it is now lol
Dr. Jaska
Dr. Jaska8mo ago
I don't understand what you mean by separate. Android filesystem sandboxes applications' storage so that each one is separate and apps can only see into the shared storage with permission. It's still the same UNIX filesystem there. You didn't show how you moved it or what it was supposed to contain Looking at that more closely I don't understand why your netflix_titles.csv isn't in ~/gin-web-service
koomball
koomballOP8mo ago
That's what I'm saying That's why I asked if it's seperate as in is the shared storage a clone of home I wasn't sure and was the first idea I had to why it wasn't there.
Dr. Jaska
Dr. Jaska8mo ago
It's not in that csv dir either?
koomball
koomballOP8mo ago
nope Might have to find a different way to get the csv file then, just trying to learn go lol
Dr. Jaska
Dr. Jaska8mo ago
@koomball you're not in the dir where you moved it web service gin gin web service
koomball
koomballOP8mo ago
Ah I see now weird it didn't say that doesn't exist as it appears I made the same typo when I tried gin-web-service/csv Thank you aha odd gin-web-service doesn't even exist it just moved the file to nowhere :why: Welp I'll just re-download the file thank you again.
Dr. Jaska
Dr. Jaska8mo ago
It renamed the file into that dir The dir didn't exist and you didn't append /
koomball
koomballOP8mo ago
oh does it do that? I see
Dr. Jaska
Dr. Jaska8mo ago
So it moved the file to be ~/gin-web-service without a filetype suffix As long as you don't replace any existing files mv doesn't cause data loss when used like that
koomball
koomballOP8mo ago
Good to know I can use it for renaming thank you. Perfect got the file where it needs to be now
Want results from more Discord servers?
Add your server