projects
/
vrac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ede5f7e
)
silent iconv
author
David Marec
<DavidMarec@users.noreply.github.com>
Mon, 26 Apr 2021 12:22:11 +0000
(14:22 +0200)
committer
David Marec
<DavidMarec@users.noreply.github.com>
Mon, 26 Apr 2021 12:22:11 +0000
(14:22 +0200)
rename.sh
patch
|
blob
|
history
diff --git
a/rename.sh
b/rename.sh
index 85648988f0c2b32f7e311a8a3dd676c024fe3f70..decf59e379a3f0ca7617b9c8c6ed581209b357a8 100755
(executable)
--- 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 -c
s
-t UTF-8`
echo " : copying <$newfile> into <${dest}>"
cp "${@}" "${dest}/${newfile}"
}