{"action":"closed","issue":{"url":"https://api.github.com/repos/aws/aws-cli/issues/1714","labels_url":"https://api.github.com/repos/aws/aws-cli/issues/1714/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-cli/issues/1714/comments","events_url":"https://api.github.com/repos/aws/aws-cli/issues/1714/events","html_url":"https://github.com/aws/aws-cli/issues/1714","id":125865448,"number":1714,"title":"`aws sync` fails silently (but does take time)","user":{"login":"MrAndMrsK","id":5518652,"avatar_url":"https://avatars.githubusercontent.com/u/5518652?v=3","gravatar_id":"","url":"https://api.github.com/users/MrAndMrsK","html_url":"https://github.com/MrAndMrsK","followers_url":"https://api.github.com/users/MrAndMrsK/followers","following_url":"https://api.github.com/users/MrAndMrsK/following{/other_user}","gists_url":"https://api.github.com/users/MrAndMrsK/gists{/gist_id}","starred_url":"https://api.github.com/users/MrAndMrsK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrAndMrsK/subscriptions","organizations_url":"https://api.github.com/users/MrAndMrsK/orgs","repos_url":"https://api.github.com/users/MrAndMrsK/repos","events_url":"https://api.github.com/users/MrAndMrsK/events{/privacy}","received_events_url":"https://api.github.com/users/MrAndMrsK/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aws/aws-cli/labels/closing-soon-if-no-response","name":"closing-soon-if-no-response","color":"5319e7"},{"url":"https://api.github.com/repos/aws/aws-cli/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"JordonPhillips","id":2643092,"avatar_url":"https://avatars.githubusercontent.com/u/2643092?v=3","gravatar_id":"","url":"https://api.github.com/users/JordonPhillips","html_url":"https://github.com/JordonPhillips","followers_url":"https://api.github.com/users/JordonPhillips/followers","following_url":"https://api.github.com/users/JordonPhillips/following{/other_user}","gists_url":"https://api.github.com/users/JordonPhillips/gists{/gist_id}","starred_url":"https://api.github.com/users/JordonPhillips/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JordonPhillips/subscriptions","organizations_url":"https://api.github.com/users/JordonPhillips/orgs","repos_url":"https://api.github.com/users/JordonPhillips/repos","events_url":"https://api.github.com/users/JordonPhillips/events{/privacy}","received_events_url":"https://api.github.com/users/JordonPhillips/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2016-01-11T03:06:55Z","updated_at":"2016-01-28T00:11:38Z","closed_at":"2016-01-28T00:11:38Z","body":"\r\n(linux, bash) I have a command like the one below.  It runs without error and without output but it does take a few seconds to run.  It also does not upload or delete files that I know are outdated on the server.  If I put in a switch error into the statement, then I do get errors.  If I do `aws s3 ls s3://myapp-contentdelivery-mobilehub-123456` I get the files listed.  If I do `aws s3 cp \"./index.html\" s3://myapp-contentdelivery-mobilehub-123456` the upload succeeds (so the permissions are OK).\r\n\r\nI notice that putting quotes around the bucket in `cp` like `aws s3 cp \"./index.html\" \"s3://myapp-contentdelivery-mobilehub-123456\"` then it yields `Error: Invalid argument type` which is silly too, but I tried it both ways in `sync` and there's no difference in the operation.\r\n\r\n```text\r\naws s3 sync . \"s3://myapp-contentdelivery-mobilehub-123456\" --dryrun --delete --exclude \"*\" --include\r\n \"./preview.html\" --include \"./index.html\" --include \"./favicon.ico\"  --include \"./fonts/fontawesome-\r\nwebfont.eot\" --include \"./fonts/FontAwesome.otf\" --include \"./fonts/fontawesome-webfont.ttf\" --include \r\n\"./fonts/fontawesome-webfont.woff2\" --include \"./fonts/fontawesome-webfont.woff\" --include \r\n\"./fonts/fontawesome-webfont.svg\" --include \"./css/font-awesome.css\" --include \"./css/font-\r\nawesome.min.css\"\r\n```\r\n\r\nI tried a lot of variations and a few times I figured it out by getting rid of the leading `./` or that there were too many files listed, or that it doesn't like dashes in the name, or that it doesn't like the quotes around the include file names (but that would be silly - what about file names with spaces? and anyway `--exclude` uses them, so that would be inconsistent)."}}