Skip to content

Instantly share code, notes, and snippets.

@jrstarke
jrstarke / compare_buckets.py
Created September 27, 2017 18:43 — forked from tomkinsc/compare_buckets.py
This is a quick and dirty script to compare two different s3-compatible buckets, just dorp in the bucket name and credentials, and optionally change the endpoint host
#!/usr/bin/python
import boto, json
from boto.s3.connection import S3Connection
from boto.gs.connection import GSConnection
def compare_buckets(bucket_one_bucket_name,
bucket_two_bucket_name,
bucket_one_access_key_id,
[ 1.480405] Booting Linux on physical CPU 0x0000000000 [0x412fd050]
[ 1.480426] Linux version 5.10.110-31-rockchip-ged1406c748b1 (stephen@lara) (gcc (Ubuntu/Linaro 7.5.0-6ubuntu2) 7.5.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #rockchip SMP Sat Nov 26 04:03:23 UTC 2022
[ 1.489852] Machine model: Radxa ROCK 5B
[ 1.490021] efi: UEFI not found.
[ 1.493142] OF: fdt: Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x0000000000000000, size 0 MiB
[ 1.493158] OF: fdt: Reserved memory: failed to reserve memory for node 'drm-cubic-lut@00000000': base 0x0000000000000000, size 0 MiB
[ 1.493233] Reserved memory: created CMA memory pool at 0x0000000010000000, size 256 MiB
[ 1.493239] OF: reserved mem: initialized node cma, compatible id shared-dma-pool
[ 1.775621] Zone ranges:
[ 1.775629] DMA [mem 0x0000000000200000-0x00000000ffffffff]