eprints-dev: /home/dpavlin/mtoolkit/fix.sh [commit]
[eprints3-migration.git] / mtoolkit / fix.sh
index eab679a..ecd884b 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 mv /tmp/log /tmp/log.last
-./utf8-fix.pl orig/eprints.xml 2>/tmp/log | iconv -f utf8 -t utf8 -c > ~/eprints2-fixed.xml
+./utf8-fix.pl orig/eprints.xml 2>/tmp/log | ../unaccent-file.pl '"file://[^"]+"' | iconv -f utf8 -t utf8 -c > ~/eprints2-fixed.xml
 diff -urw /tmp/log.last /tmp/last | diffstat
 vi -o /tmp/log utf8-fix.pl