Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ aws s3 ls s3://my.bucket.com --recursive
- 2018-11-21 12:50:21 124 404.json
- 2018-11-13 08:34:57 0 i18n/8ac2db8f3f0cef55013f0f5c45115ec2/
- 2018-11-15 03:09:38 85 i18n/8ac2db8f3f0cef55013f0f5c45115ec2/en_US.json
- 2018-11-29 08:34:44 106 i18n/8ac2db8f3f0cef55013f0f5c45115ec2/ru.json
- 2018-11-13 08:34:36 0 i18n/99d43531cf924378a36f2da9d4e9de0a/
- 2019-04-01 09:47:36 929 i18n/99d43531cf924378a36f2da9d4e9de0a/en_US.json
- def files = sh(script: "aws s3 ls s3://my.bucket.com --recursive",
- returnStdout: true).split('/n')
- println files.size()
- def files = sh(script: "aws s3 ls s3://my.bucket.com --recursive",
- returnStdout: true).readLines()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement