Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage get enhanced #151

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

knyipab
Copy link

@knyipab knyipab commented Mar 13, 2022

This goal of this request is to enrich termux-storage-get to what "Open ..." and "Open Folder ..." usually do in PC, while keeping backward compatibility.

See the show_usage() below for more information.

  • high backward compatibility (termux-storage-get output-name works as usual)
  • print URIs in JSON array (or line format with -l)
  • when output-name is not present, only print out URIs
  • synchronous call (wait until finish)
  • open folder
  • persistable permission grant (persist after reboot)
  • supprot to get multiple file (accompany with output-name patterns like %d, %8d, %08d)
  • specify MIME type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant