justindujardin / pathy

simple, flexible, offline capable, cloud storage with a Python path-like interface
Apache License 2.0
170 stars 23 forks source link

feat(cli): add pathy executable with cp and mv commands #19

Closed justindujardin closed 4 years ago

justindujardin commented 4 years ago

Use gcspath as a CLI application.

Commands

cp

Copy a file or folder from one path to another. Supports copying between local file-system and bucket paths.

pathy cp ./local.file gs://my-bucket/

mv

Move a file or folder from one path to another. Supports moving between local file-system and bucket paths.

pathy mv ./folder/ gs://my-bucket/

rm

Remove a file or folder. Supports recursive deleting by default.

pathy rm ./folder/
pathy rm gs://my-bucket/blobs/

ls

List the blobs inside a folder.

pathy ls ./
pathy ls gs://my-bucket/

Changes:

justindujardin commented 4 years ago

:tada: This PR is included in version 0.1.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: