AlexPol запустите скрипт на питоне
`import os
import glob
from collections import defaultdict
#dir_path = ‘/path/to/your/directory’
file_counts = defaultdict(int)
file_sizes = defaultdict(int)
for root, dirs, files in os.walk(dir_path):
for filename in files:
file_counts[os.path.splitext(filename)[1]] += 1
file_sizes[os.path.splitext(filename)[1]] += os.path.getsize(os.path.join(root, filename))
for file_type, count in file_counts.items():
print(f’File type: {file_type}, Count: {count}, Size: {file_sizes[file_type]} bytes’)`