Skip to content

Instantly share code, notes, and snippets.

@audstanley
Last active March 2, 2022 21:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save audstanley/6faf3715243b89e2914f5fb1ca5f494e to your computer and use it in GitHub Desktop.
Save audstanley/6faf3715243b89e2914f5fb1ca5f494e to your computer and use it in GitHub Desktop.
#!/bin/bash
# run in Media folder, and removes special features.
find . | grep -E '(\.(mkv)|(avi)|(mp4))$' | grep -vE ' - t0[1-9]' | grep -vE ' - t[1-9][0-9]' | grep -vE ' - t00[0-9][1-9]' | grep -vE ' - t01[0-9][1-9]' | grep -vE '\/Ripped\/' | grep -vE '\/TV\/' | sed 's/\.\//\.\.\//g' > tvPlaylist/allMovies.m3u
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment