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.
22 Replies
Android 11
@koomball move files into shared storage by however and then use Termux to copy/move those files into its files
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
~/storage/shared
That place. All of those are directories which are in it.
so how can I move the file from downloads to home/web-service-gin
termux-setup-storage
I have run that command already
Solution
mv ~/storage/shared/downloads/thatfile ~/web-service-gin/
You may need to
mkdir ~/web-service-gin
firstIs 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
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
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.
It's not in that csv dir either?
nope
Might have to find a different way to get the csv file then, just trying to learn go lol
@koomball you're not in the dir where you moved it
web service gin
gin web service
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.
It renamed the file into that dir
The dir didn't exist and you didn't append /
oh does it do that? I see
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
Good to know I can use it for renaming thank you.
Perfect got the file where it needs to be now