From b214c839811d90469b8d658040913c48f9c3cd01 Mon Sep 17 00:00:00 2001 From: David Marec Date: Mon, 26 Apr 2021 14:22:11 +0200 Subject: [PATCH] silent iconv --- rename.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" } -- 2.47.0