Created
January 10, 2019 10:57
-
-
Save Seegras/511e2baca28ec3305ac67fea8dc33e09 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/sh | |
# | |
# Author: Peter Keel <seegras@discordia.ch> | |
# Date: 20.10.2012 | |
# Version: 0.1 | |
# License: Public Domain | |
# URL: http://seegras.discordia.ch/Programs/ | |
# | |
for i in *.ass ; do ffmpeg -i "$i" "$(basename $i .ass).srt" ; done | |
flip -ub *.srt | |
for i in *.srt; do sed -i "s#<font.*\">##g" $i; done | |
for i in *.srt; do sed -i "s#</font>##g" $i; done | |
for i in *.srt; do sed -i "s#<b>##g" $i; done | |
for i in *.srt; do sed -i "s#</b>##g" $i; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment