We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Not 100% sure about this, adding this here to track the issue.
Currently s5cmd flattens source directory hiearchy while downloading (cp/mv). For example:
s3://bucket/obj1 s3://bucket/obj2 s3://bucket/01/obj2
s5cmd cp 's3://bucket/*' .
The default behaviour is to find each object recursively, and download them while ignoring all prefixes after the wildcard. Result:
$ ls obj1 obj2
There'll be only 1 obj2 but we're not very confident which one.
obj2
We should make --parents the default behaviour, and --flatten an option.
--flatten
The text was updated successfully, but these errors were encountered:
I might also suggest making '-r' an alias for --parents, which would bring s5cmd cp more in line with standard UNIX cp behaviour.
Sorry, something went wrong.
sonmezonur
Successfully merging a pull request may close this issue.
Not 100% sure about this, adding this here to track the issue.
Currently s5cmd flattens source directory hiearchy while downloading (cp/mv). For example:
s5cmd cp 's3://bucket/*' .
The default behaviour is to find each object recursively, and download them while ignoring all prefixes after the wildcard. Result:
There'll be only 1
obj2
but we're not very confident which one.We should make --parents the default behaviour, and
--flatten
an option.The text was updated successfully, but these errors were encountered: