回答編集履歴
1
1
test
CHANGED
@@ -1,9 +1,23 @@
|
|
1
|
+
```
|
2
|
+
|
1
3
|
cd /test/
|
2
4
|
|
3
5
|
ls -1 | while read f
|
4
6
|
|
5
7
|
do
|
6
8
|
|
7
|
-
cat $f | iconv -f CP930 -t CP932 > $f'_SJIS'
|
9
|
+
cat $f | iconv -f CP930 -t CP932 > $f'_SJIS'
|
8
10
|
|
9
11
|
done
|
12
|
+
|
13
|
+
```
|
14
|
+
|
15
|
+
--- 追記 ---
|
16
|
+
|
17
|
+
```
|
18
|
+
|
19
|
+
find /test/ -exec iconv -f CP930 -t CP932 {} -o {}'_SJIS' \;
|
20
|
+
|
21
|
+
```
|
22
|
+
|
23
|
+
※動作確認はしてません。
|