From e097f73d3aaafd2954f4612cf9c084b7b304dbb7 Mon Sep 17 00:00:00 2001 From: Dave McKay Date: Fri, 26 Jul 2024 11:22:07 +0100 Subject: [PATCH] extra info --- csd3-side/scripts/lsst-backup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/csd3-side/scripts/lsst-backup.py b/csd3-side/scripts/lsst-backup.py index 4f93554..4bb840e 100644 --- a/csd3-side/scripts/lsst-backup.py +++ b/csd3-side/scripts/lsst-backup.py @@ -444,7 +444,6 @@ def process_files(s3_host, access_key, secret_key, bucket_name, current_objects, None """ processing_start = datetime.now() - print(f'Processing started at {processing_start}.') total_size_uploaded = 0 total_files_uploaded = 0 i = 0 @@ -494,7 +493,7 @@ def process_files(s3_host, access_key, secret_key, bucket_name, current_objects, # upload files in subfolder "as is" i.e., no zipping # check folder isn't empty - # print(f'Processing {len(files)} files (total size: {total_filesize/1024**2:.0f} MiB) in {folder}.') + print(f'Processing {len(files)} files (total size: {total_filesize/1024**2:.0f} MiB) in {folder} with {len(sub_folders)} subfolders.') if len(files) > 2 or mean_filesize > 128*1024**2 or not global_collate: # all files within folder # print(f'Processing {len(files)} files (total size: {total_filesize}) individually in {folder}.')