Nowhere Plans
Mar 26, 2026

media-scrubber

2 min read

1 view

GitHub

What you're missing

You have a media library, it's large, dense and full of audio tracks you don't understand, and, let's be real, you're not finishing that Duolingo class.

It's taking up space, a surprising amount of space, and you wish there was a way to clean up your library to be English-only.

Why you need this

Media scrubber is a lone shell script to help you clean up your media library, removing all the non-English audio tracks, subtitle tracks, and junk files.

So long are the days of manually running ffprobe on your media files.

This one-stop shop safely and efficiently cleans up your library for you.

How do I get this?

Prerequisites: Docker (recommended for TrueNAS/Unraid) or native ffmpeg/ffprobe on your $PATH.

Install it with one command:

bash
1sudo curl -L "https://raw.githubusercontent.com/arvarik/media-scrubber/main/media-scrubber.sh" \
2 -o /usr/local/bin/media-scrubber
3sudo chmod +x /usr/local/bin/media-scrubber

Dry-run it first (safe, no files touched):

bash
1media-scrubber -d /mnt/media/movies

When you're ready, go live:

bash
1media-scrubber -d /mnt/media/movies --live --clean-junk --strip-tags

The script auto-detects Docker vs. native FFmpeg via --engine auto. No config files needed.