pipeline-aws-plugin icon indicating copy to clipboard operation
pipeline-aws-plugin copied to clipboard

When downloading, Should the force option always erase the path?

Open doodoori2 opened this issue 2 years ago • 0 comments

Add options that don't keep the parent path of the source path.

s3Download(file:'targetFolder/', bucket:'my-bucket', path:'path/to/sourceFolder/', force:true) In this case, isn't it non-intuitive to erase all the files at targetFolder/*, not just the 'targetFolder/path/to/SourceForlder/' ?

And It's more unix-like to copy to 'targetFolder/' than to copy to 'targetFolder/path/to/sourceFolder/' It is not easy to collect directories from different source Folders. Please let me know if there are any other limitations.

Upstream changes

No response

doodoori2 avatar Mar 01 '22 16:03 doodoori2