Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@tititake
tititake / fetchsub.sh
Last active December 20, 2015 05:29 — forked from ravageralpha/fetchsub.sh
Get subtitles from shooter
#!/bin/sh
# Author: RA <ravageralpha@gmail.com>
# Author: Chris Yu <chrisyu.gm@gmail.com>
USAGE(){
echo "Usage:$(basename $0) [-eng] [-suf] [-togbk] [-toutf8] files..."
echo "OPTIONS"
echo " -eng : download English subtitle, default is Chinese"
echo " -suf : add language suffix in subtitle file name"
echo " -togbk : try to convert file content from big5 to gbk with iconv"