find . -name "*.html"|xargs -I{} opencc -i {} -o ../html5_trad/{}
find . -name "*.js"|xargs -I{} opencc -i {} -o ../html5_trad/{}
繁体转简体:
opencc -c /usr/local/share/opencc/t2s.json -i <input file>
find . -name "*.html"|xargs -I{} opencc -c /usr/local/share/opencc/t2s.json -i {} -o ../books/<simplified>/{}
评论