opendal
opendal copied to clipboard
oli: implement `oli cp`(`ocp`)
This is a separate issue to track the implementation of oli cp
.
Related #422 RFC
oli cp
enables users to transfer data between different storage services seamlessly, for instance:
- Upload directory to s3:
oli cp -r dir s3://path/
- Download files from azblob:
oli cp azblob://path/books.csv /tmp/books.csv
Tasks
- [x] Copy a single file between different storage services:
- #675
- #1706
- #1717
- [ ] Copy directory recursively(
oli cp -r
) - [ ] TBD
Maybe we need ols
/ oli ls
first before we have ocp -r
?
Maybe we need
ols
/oli ls
first before we haveocp -r
?
Exactly. cp -r
requires listing files with a particular prefix