Re: Where is the $LANG variable defined?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Emmanuel Seyman wrote:

newfname=`echo "$1" | iconv -f UTF-8 -t ISO_8859-15`

if [ $? -ne 0 ]; then
	echo "Error: iconv failed. Skipping."
	exit
fi
mv $1 $newfname

That's a neat workaround. It looks like it should work for single files, but not for recursive copying I'm afraid.


http://freshmeat.net/projects/convmv/
http://www.gnu.org/software/recode/recode.html

Thanks! I'll check Convmv out. Recode looks like it does the same job as Iconv.


Björn Persson



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux