-4

I'm quite confused as to why my question was closed:

How can I use wildcards to `cp` a group of files with the AWS CLI

Wouldn't this fall under "software tools primarily used by programmers"?

25
  • 8
    I voted to close because the question is asking for simple instructions on how to use a program that (IMO) is more of a systems administration tool than a programming one.
    – miken32
    Feb 9 at 18:11
  • 7
    And is there value to reopening it? Are you expecting more answers? Closure is not deletion, the question will still exist to help others and give you your rep.
    – miken32
    Feb 9 at 18:13
  • 3
    Is it really only used by programmers? I would think this is a popular UNIX tool used by non-programmers
    – Dharman Mod
    Feb 9 at 18:13
  • 5
    If the question is rightfuly closed, then we may need to think about whether the [aws-cli] tag is on topic.
    – Lino
    Feb 9 at 18:14
  • 5
    The question was protected then a close vote was initiated. How many deleted answers does the question have? If I am protecting a question, there likely is a reason, many times it's received numerous answers that should never have been submitted. What I see is numerous answers suggesting the exact same solution. I suspect the close vote is due to the fact, "Questions about general S3 support, functionality, configuration, etc. are OFF-TOPIC", would easily be a valid description of the linked question. Feb 9 at 18:23
  • 4
    @CertainPerformance - 125K views is a popular question after 8 years? That's less than 1,302 views a month. To be frank outside of the answer from 2016, the rest of the answers are just duplicates of the original answer, the question overall is pretty low quality in my opinion. In fact it seems the user guide, if referenced before the question was asked, likely would have resulted in the question not being asked. Feb 9 at 18:32
  • 5
    That an answer for the problem exists in the documentation, however, isn't a reason for closure, nor for the question to not exist, @SecurityHound ; Stack Overflow aims to be a complete repository of questions and that will include "simple" documented problems too. Of course, if it is clearly documented, that could be seen as a reason to downvote the question, due to an (apparent) lack of research.
    – Thom A
    Feb 9 at 18:46
  • 1
    While the official docs do answer this, for better or worse, this question is the top hit for a query of aws cli cp wildcard. While this is absolutely something non-developers would want to know, it also feels to me like the start of many an ad-hoc script or program creation, so it seems reasonable. Feb 9 at 19:02
  • 1
    Thanks for the responses. FWIW, I wasn't concerned about rep or anything, just curious. Also, FWIW in response to the top comment, I am a software engineer and I barely do any sys admin stuff, but use the AWS CLI extensively, daily.
    – metersk
    Feb 9 at 19:07
  • 2
    I mean... I'm a web developer, and when working on AWS related projects I do routinely use the AWS CLI, but I'd never call that programming or consider it a programming related task.
    – Kevin B
    Feb 9 at 19:33
  • 1
    Where would you say Docker CLI related questions would belong? Similarly to aws-cli stack overflow is the first place I'd think to look. I'm mainly going with the software tools primarily used by programmers guidance.
    – metersk
    Feb 9 at 20:02
  • 3
    twitter maybe? I'm not really concerned where users ask questions unrelated to SO's purpose.
    – Kevin B
    Feb 9 at 20:06
  • 1
    I'll weigh in and say aws cli cp is nothing like cp. There are certain aws cli operations which are not replicable using higher level libraries like boto3, or for which the cli operations are more performant. I, as a programmer use these extensively in my day job. (1/2)
    – code11
    Feb 13 at 22:05
  • 1
    Questions like these are invaluable. I would caution throwing the babe out with the bathwater on this one. (2/2)
    – code11
    Feb 13 at 22:05
  • 1
    This feels wrong. I thought the whole point was to wait for consensus on meta before acting. There's one answer here, which says... maybe. Really guys?
    – code11
    Feb 14 at 16:56

2 Answers 2

13

Honestly... I dunno if this question should be closed or not.

Yes, it's using a common function that most Unix developers would be doing. But if you asked someone to do this in AWS and all they have is Unix experience, there's a non-trivial amount of tension that comes along with said request.

Because yes, on its surface it looks a whole heck a lot like the copy we know and love in Unix land. But if I look at the AWS documentation I panic a little at reading "metadata".

I'd conjecture based on this, the question shouldn't be closed just because it's dealing with a familiar-looking-but-definitely-not-the-same-thing-kind of command.

But the issue at hand is probably less about this specific question being off-topic and more about the AWS CLI being off-topic.

To that I'd say, probably not, that feels like it's on-topic too. AWS programmers would want or need to know how to do things with this tool.

But if we feel passionate about this, maybe we need to revisit what is and isn't on-topic for AWS?

1

This question should not be closed. I believe that AWS CLI questions should be on topic. I also believe that closing the question while its being discussed here on meta is not the right way of doing things. (The question was already closed before this discussion)

Copying my logic from the comments:

It seems like the two arguments for closure are 1) since cp is off topic, aws cli cp should be as well, obviously its only something Linux users would use! and 2) Questions about general S3 support, functionality, configuration are off topic.

  1. Despite its similar appearance and interface, aws cp is significantly different from its built in counterpart. There are certain aws cli operations which are not replicable using higher level libraries like boto3, or for which the cli operations are more performant. I, as a programmer use these extensively in my day job.

    I challenge you to do anything on bulk s3 data (or data in an s3 'folder') in a performant manner without cli operations (move, rename, version, etc). And thats exactly what the question linked to is talking about.

  2. I interpret this as being a question about the API, not about the general workings of the service. If I were to make a library used by programmers, and solely provide a cli for it rather than language bindings, questions about that library would still be on-topic. Thats exactly whats happened here.

3
  • 1
    I also believe that closing the question while its being discussed here on meta is not the right way of doing things.: It was closed before the meta post, then it was reopened and reclosed after the post. If you say that closing questions while the discussion is ongoing is not OK, then certainly reopening is also not.
    – BDL
    Feb 14 at 18:10
  • ^ Good context. I agree, I would just worry about it being deleted while being discussed, since that would limit who could see it.
    – code11
    Feb 14 at 18:12
  • 4
    Deletion of a post this popular would require quite a few votes from a very small pool of users (that can't even vote to delete yet on this post.) It is not at risk
    – Kevin B
    Feb 14 at 18:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .