#!/bin/bash
# Cleanup script for media-to-text project
# Removes unused ffmpeg files (~18.3MB)

echo "🧹 Cleaning up unused files..."

# Remove unused ffmpeg directories and files
rm -rf ffmpeg/ ffmpeg-local/ ffmpeg-wasm/
rm -f 814.ffmpeg.js 814.ffmpeg.js.map
rm -f ffmpeg.js ffmpeg.js.map
rm -f ffmpeg-core.js ffmpeg-core.wasm ffmpeg-core.worker.js

echo "✅ Cleanup complete!"
echo ""
echo "Removed:"
echo "  - ffmpeg/ directory"
echo "  - ffmpeg-local/ directory"
echo "  - ffmpeg-wasm/ directory"
echo "  - Root-level ffmpeg files"
echo ""
echo "Space saved: ~18.3MB"
