Preserve filename when using termux-storage-getfile
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.3k
- Forks
- 920
- PR merge metrics
- No merged PRs in 30d
Description
From @omilu on February 19, 2017 16:27
The termux-storage-getfile mechanism gives no way to preserve the original filename.
Is it possible to implement something to preserve the filename??
For example, calling termux-storage-getfile without a destination filename, causes the script to create a file with the same name of the file that is selected in the popup and copies into it.
Even better if termux-storage-getfile is enhanced so it can select multiple files at once, instead of one at a time.
Copied from original issue: termux/termux-app#257
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the termux-storage-getfile entry point and inspect how the selected file and destination are currently handled. Done should include preserving the selected filename when no destination is supplied; supporting multiple selected files is an additional request whose scope needs clarification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- cli, mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100