seung-lab / cloud-files

Threaded Python and CLI client library for AWS S3, Google Cloud Storage (GCS), in-memory, and the local filesystem.
BSD 3-Clause "New" or "Revised" License
38 stars 8 forks source link

fix: transfer paths from windows correctly #53

Closed william-silversmith closed 3 years ago

william-silversmith commented 3 years ago

cloudfiles cp -r path matrix://bucket/ was copying stuff like:

bucket/C:\\path\\file\\

This was because the path sep was not being considered in the file interface listing operator and we were not converting from Windows to posix during transfers.