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

termux-storage-get should have the options to run synchronously and retain original filename. #199

@cvirostek

Description

@cvirostek

This command would be much easier to use in many cases if it had the option to block execution until a file has been selected and loaded. That way, if a script needs to perform on the file, it will know exactly when it's able to do so.

It would also be helpful to be able to retain the file's name. It could work like cp, mv, etc: if you provide the path to a directory, it will place the file in that directory with its original name. If you provide the path to a file, it would create or overwrite that file.

I have a rough version of this working. If anyone's interested I can clean up the code and publish it.

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