Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
davedavemckay committed Jul 26, 2024
1 parent e097f73 commit 569755c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion csd3-side/scripts/lsst-backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,9 @@ def process_files(s3_host, access_key, secret_key, bucket_name, current_objects,
folder_files_size = np.sum(np.array([os.lstat(filename).st_size for filename in folder_files]))
total_size_uploaded += folder_files_size
total_files_uploaded += file_count
# print(f'{file_count - pre_linkcheck_file_count} symlinks replaced with files. Symlinks renamed to <filename>.symlink')
print(f'{file_count - pre_linkcheck_file_count} symlinks replaced with files. Symlinks renamed to <filename>.symlink')

print(f'Sending {file_count} files (total size: {folder_files_size/1024**2:.0f} MiB) in {folder} to S3 bucket {bucket_name}.')

for i,args in enumerate(
zip(
Expand Down

0 comments on commit 569755c

Please sign in to comment.