Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
davedavemckay committed Oct 29, 2024
1 parent 23c9860 commit 9669acd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion csd3-side/scripts/lsst-backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,8 @@ def process_files(s3_host, access_key, secret_key, bucket_name, current_objects,
for folder, sub_folders, files in os.walk(local_dir, topdown=True):
total_all_folders += 1
total_all_files += len(files)
print('.', end='', flush=True)
if total_all_folders % 1000 == 0:
print('.', end='', flush=True)
print()
print(f'Folders: {total_all_folders} Files: {total_all_files}', flush=True)
if file_count_stop and len(current_objects) > 0:
Expand Down

0 comments on commit 9669acd

Please sign in to comment.