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

aws s3 ls --include --exclude #4832

Open
tooptoop4 opened this issue Jan 10, 2020 · 5 comments · May be fixed by #4941
Open

aws s3 ls --include --exclude #4832

tooptoop4 opened this issue Jan 10, 2020 · 5 comments · May be fixed by #4941
Labels
feature-request A feature should be added or improved. p2 This is a standard priority issue s3

Comments

@tooptoop4
Copy link

ls command should support --include --exclude

that way can get '--recursive --human-readable --summarize' sizes for only objects with abc in the key name

@kyleknap
Copy link
Contributor

Seems reasonable to me. Marking as a feature request.

@kyleknap kyleknap added feature-request A feature should be added or improved. s3 labels Jan 23, 2020
wingkwong added a commit to wingkwong/aws-cli that referenced this issue Feb 9, 2020
wingkwong added a commit to wingkwong/aws-cli that referenced this issue Feb 11, 2020
@wingkwong wingkwong linked a pull request Feb 11, 2020 that will close this issue
wingkwong added a commit to wingkwong/aws-cli that referenced this issue Feb 11, 2020
@justindho justindho added the has-pr This issue has a PR associated with it. label May 27, 2022
@justindho justindho linked a pull request May 27, 2022 that will close this issue
@justindho justindho removed the has-pr This issue has a PR associated with it. label May 27, 2022
@tim-finnigan tim-finnigan added the p2 This is a standard priority issue label Nov 10, 2022
@jorgeorpinel
Copy link

jorgeorpinel commented Dec 20, 2022

Would be pretty nice indeed. I'm surprised this is the one subcommand that doesn't have it actually 😄 . Hoping #4941 goes through soon! 🤞🏼

U: I just realized you may achieve similar goals with s3api list-objects-v2 --prefix/delimiter ... --query ... (docs), but you have to learn JMESPath.

@gyula-lakatos
Copy link

Is there any plans to do finish this ticket? I'm keep coming back to this issue every second mont because I want to use these parameters. :/

@chhh
Copy link

chhh commented Aug 7, 2024

Any updates on this one? It's a pre-requisite for cp command, I need to explore what do I want to copy first, then when I've finally figured the right include/exclude I can change ls to cp

@mikkelee
Copy link

Any progress on this or #4941?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. p2 This is a standard priority issue s3
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants