Skip to content

rename (move) file over different file system #234

Open
@petrus-v

Description

@petrus-v

I would like to be able to be able to rename/move a file over different file system.

Does it make sense, in this library to support such feature ?

This would let developers write something like this:

UPath("local:///tmp/local_file").rename(UPath("s3://my-bucket/destination"))

which would:

  • copy the source file from /tmp/local_file to the s3 bucket: s3://my-bucket/destination
  • remove the local file once file is write on the other file system

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions