X-Git-Url: http://popeye.lapinbilly.eu/git/?p=vrac.git;a=blobdiff_plain;f=rename.sh;h=decf59e379a3f0ca7617b9c8c6ed581209b357a8;hp=85648988f0c2b32f7e311a8a3dd676c024fe3f70;hb=HEAD;hpb=ede5f7e58404842730cb5ae8956494778747c57f diff --git a/rename.sh b/rename.sh index 8564898..decf59e 100755 --- a/rename.sh +++ b/rename.sh @@ -15,7 +15,7 @@ processing() { echo processing "${@}" newfile=`echo "$@" | sed "s/${prefix}//g"` - [ -n ${iconv} ] && newfile=`echo ${newfile} | iconv -c -t UTF-8` + [ -n ${iconv} ] && newfile=`echo ${newfile} | iconv -cs -t UTF-8` echo " : copying <$newfile> into <${dest}>" cp "${@}" "${dest}/${newfile}" }