SHARE
TWEET

Untitled

a guest Jun 25th, 2019 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ aws s3 ls s3://my.bucket.com --recursive
  2. 2018-11-21 12:50:21        124 404.json
  3. 2018-11-13 08:34:57          0 i18n/8ac2db8f3f0cef55013f0f5c45115ec2/
  4. 2018-11-15 03:09:38         85 i18n/8ac2db8f3f0cef55013f0f5c45115ec2/en_US.json
  5. 2018-11-29 08:34:44        106 i18n/8ac2db8f3f0cef55013f0f5c45115ec2/ru.json
  6. 2018-11-13 08:34:36          0 i18n/99d43531cf924378a36f2da9d4e9de0a/
  7. 2019-04-01 09:47:36        929 i18n/99d43531cf924378a36f2da9d4e9de0a/en_US.json
  8.      
  9. def files = sh(script: "aws s3 ls s3://my.bucket.com --recursive",
  10.                    returnStdout: true).split('/n')
  11.     println files.size()
  12.      
  13. def files = sh(script: "aws s3 ls s3://my.bucket.com --recursive",
  14.                returnStdout: true).readLines()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top