Created
April 3, 2020 01:32
-
-
Save rafaeldalsenter/8f07d25f8f64ed0b51fa0ae8af8370f3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| print('Source Bucket:', bucketNameSource) | |
| print('Target archive:', bucketNameDest + '/' + archiveNameDest) | |
| objects = aws_ext.all_objects_from_bucket(bucketNameSource) | |
| count_objects = aws_ext.count_objects(objects) | |
| amount_objects = amountOfFilesToUpload | |
| if(amount_objects == 0): | |
| amount_objects = count_objects | |
| print("Source bucket files count:", count_objects) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment