mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
11 lines
188 B
Bash
11 lines
188 B
Bash
#!/bin/sh -e
|
|
FROM="$1"
|
|
TO="$2"
|
|
shift ; shift
|
|
while [ $# -gt 0 ]
|
|
do
|
|
FILE="$1"
|
|
shift
|
|
iconv -f "$FROM" -t "$TO" "$FILE" >.tmp.iconv
|
|
mv .tmp.iconv "$FILE"
|
|
done
|