diff --git a/split_zip_into_smaller_chunks.py b/split_zip_into_smaller_chunks.py index 47571e7..a09453e 100755 --- a/split_zip_into_smaller_chunks.py +++ b/split_zip_into_smaller_chunks.py @@ -33,7 +33,7 @@ def can_float(str): def get_max_size(): while True: - mx_group_size = input("Enter the maximum (in GB) zipped file size: ") + mx_group_size = input("Enter the maximum (in GB) zipped file size (2 is default): ").strip() or "2" if can_float(mx_group_size): return float(mx_group_size) else: @@ -83,7 +83,7 @@ def split_zip(input_zip_path, output_folder, max_group_size): # Update the size of the current group group_size += len(file_content.getvalue()) - print(f'Successfully split {input_zip_path} into {group_number} groups.') + print(f'Successfully split {input_zip_path} into {group_number} groups.', end="\r") # Example usage # input_zip_path = 'path/to/your/large.zip'