Skip to content

Instantly share code, notes, and snippets.

@arpith20
arpith20 / convert-encoding.sh
Created January 13, 2017 08:50
Shell script to convert encoding of files to utf-8.
#!/bin/bash
if [ $# -lt 1 ]
then
echo "Usage: "$0" <file_name>"
echo "Convert files to utf-8"
exit
fi
for i in $*
do