This file contains 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
#!/usr/bin/env python3 | |
import boto3 | |
import argparse | |
import string | |
parser = argparse.ArgumentParser('Find duplicate objects in an aws s3 bucket') | |
parser.add_argument('--bucket', dest='myBucket', default='yourBucketName', help='S3 Bucket to search') | |
cliArgs = parser.parse_args() |
This file contains 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
#format = """ | |
#[╭─user───❯](bold blue) $username | |
#[┣─system─❯](bold yellow) $hostname | |
#[┣─project❯](bold red) $directory$rust$git_branch$git_status$package$golang$terraform$docker_context$python$docker_context$nodejs | |
#[╰─cmd────❯](bold green) | |
#""" | |
[username] | |
style_user = "green bold" | |
style_root = "red bold" | |
format = "[$user]($style) " |