audeering / audbackend

Manage file storage on different backends
https://audeering.github.io/audbackend/
Other
3 stars 0 forks source link

Add a move / copy function #177

Closed frankenjoe closed 9 months ago

frankenjoe commented 9 months ago

It would be nice to provide a function that moves / copies a file on a backend. For both operations we can provide a default implementation where a file is temporarily downloaded, optionally removed from the backend and uploaded again under the target path. However, since some backends may support moving / copying as an atomic operation on the backend, we should also allow an backend to overwrite the default behaviour.