Skip to content

termux-share shares the file as "datastream" #47

Open
@aa755

Description

@aa755

I thought of termux-share as kde-open or gnome-open or cygstart. However, its behavior is different. When I open a text file using termux-share (as in example below), my editor (QuickEdit Pro) receives a file with url
content://com.termux.sharedfiles//storage/emulated/0/x.txt, which the editor app cannot save.
However, when I locate the file in a file manager and then open it, the url is correct
/storage/emulated/0/x.txt, and the editor app can save my changes.
How can termux-share open files in other apps just like my file manager does.

$ ls
x.txt
$termux-share x.txt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions