Last active
March 2, 2022 21:01
-
-
Save audstanley/6faf3715243b89e2914f5fb1ca5f494e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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