Skip to content

Instantly share code, notes, and snippets.

@pahnin
pahnin / google-translate-fix-srt-translation.sh
Created October 4, 2016 18:00
commands to fix mess created by google translate while translating srt file
sed -i -E "s/\->/\-\->/g" Mafiosa.S01E05.Episode.#1.5.en.srt
sed -i -E "s/(0-9)?\.[0-9]/,\1/g" Mafiosa.S01E05.Episode.#1.5.en.srt
sed -i -E "s/: /:/g" Mafiosa.S01E05.Episode.#1.5.en.srt