Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User Request: Fine grain control of uploading/downloading #248

Open
johnbradley opened this issue Jun 11, 2019 · 1 comment
Open

User Request: Fine grain control of uploading/downloading #248

johnbradley opened this issue Jun 11, 2019 · 1 comment

Comments

@johnbradley
Copy link
Collaborator

... It would be nice, for example to have finer control over where a file should be placed when either uploading to or downloading from dds.

The upload and download commands work from the standpoint of uploading or downloading an entire project. For download there are include and exclude parameters for filtering what is downloaded but it still works for the entire project.

@johnbradley
Copy link
Collaborator Author

One option would be to introduce a copy command similar to the aws s3 cli:

aws s3 cp test.txt s3://mybucket/test2.txt

This functions as both upload and download.

https://docs.aws.amazon.com/cli/latest/reference/s3/cp.html#examples.

Instead of s3 we would need a dds prefix. So something like this:

ddsclient copy test.txt dds://myproject/test2.txt

We currently use this dds prefix to reference files in bespin-cli: https://github.com/Duke-GCB/bespin-cli#user-edits-job-template-file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant