这是indexloc提供的服务,不要输入任何密码
Skip to content

Request termux-saf-realpath and termux-saf-realname feature #498

@knyipab

Description

@knyipab

I really appreciate the new SAF API. On top of the current utils, it would be good to have realpath equivalent and get name of the file.
Feature description

  • termux-saf-realpath returns the URI in path. If it is online storage (e.g. GDrive), then perhaps return a empty string
  • termux-saf-realname returns to name of the file
    Reference implementation
    Nasib's answer in this stackoverflow post seems promising to handle media files.
    Many more stackoverflow posts should help.

I may make pull requests if it's preferred and when I have time to write and test the codes. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions