Hi to all...
I have a nautilus script which converts characters from a ISO-xxx
to Utf8 and it working good in single file... (right click on a file and convert) my "Q" is can anyone help me to make work with batch mode (lots file lets say control and select 5-6-9-12 files and convert...) the script is below...
#!/bin/bash
#
# Character Encoding Conversion Script for Nautilus
#
# A simple nautilus script to convert from iso-8859-7
# character encoding to utf-8.
from="iso-8859-7" # Replace $1 with the input encoding ex. "iso-8859-7"
to="utf-8" # Replace $2 with the output encoding ex. "utf-8"
thefile="$*"
if [ $# -gt 0 ];then
iconv -f $from -t $to "${thefile}" > "${thefile}.utf8"
mv "${thefile}.utf8" "${thefile}"
fi
exit 0
thanks in advance bros...
my email is nikkpap@gmail.com
Bookmarks