Rob's Wiki
  • Welcome
  • AWS
    • Appsync
    • Athena
    • S3
  • Terminal
    • brew
    • curl
    • git
    • kubernetes
    • ngrok
    • terminal
    • tmux
    • zsh
  • Design
    • Sketch
    • Fusion360
    • TinkerCAD
  • Haskell
    • Haskell
    • Stack, Cabal etc
  • Javascript
    • Javascript
    • npm
    • Vue
  • CSS
  • Mac
  • Python
    • iPython
    • pip
    • Virtualenv
  • Scala
  • Rust
  • VSCode
  • Keyboard Shortcuts
Powered by GitBook
On this page
  • Copy
  • Delete folder
  • Get bucket size
  • Get bucket region
  1. AWS

S3

Copy

aws s3 cp s3://example-src/ s3://example-dest/example-src/ --recursive

Delete folder

aws s3 rm s3://example-bucket/example-folder/2018 --recursive --dryrun

Get bucket size

aws s3 ls --summarize --human-readable --region eu-west-1 --recursive s3://example-bucket/

Get bucket region

aws s3api get-bucket-location --bucket example-bucket
PreviousAthenaNextTerminal

Last updated 6 years ago