convert Convert files in bash from cp1251 to utf8 You need to install enca! Used for personal work On mac: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null brew install enca