Scheduled maintenance - Thursday, July 12 at 5:00 PM EDT
We expect this update to take about an hour. Access to this website will be unavailable during this time.
For now, here’s a for a myhd CLI tool that analyzes disk usage of video files:
def get_video_files(directory): video_files = [] for root, _, files in os.walk(directory): for file in files: if Path(file).suffix.lower() in VIDEO_EXTENSIONS: full_path = os.path.join(root, file) size = os.path.getsize(full_path) video_files.append((full_path, size)) return sorted(video_files, key=lambda x: x[1], reverse=True) myhd code
files = get_video_files(args.directory) for path, size in files[:args.top]: print(f"{size // (1024**2):>6} MB {path}") if == " main ": main() For now, here’s a for a myhd CLI