source: other-projects/is-sheet-music-encore/trunk/java-gen-corpus/metadata-formater.sh

Last change on this file was 33017, checked in by cpb16, 5 years ago

Renamed Downloaders as .sh; Completed a metadata formater script; Creating a metadata extractor java program; Have found error in code for downloading records. Commandline thinks that some ids are directories, need to correct that

  • Property svn:executable set to *
File size: 288 bytes
Line 
1#!/bin/bash
2#Formats every textfile in download-meta folder
3for file in download-meta/*txt;
4do
5 echo "Formating $file"
6 xmllint --format $file > $file.tmp && mv $file.tmp $file
7done
8
9#References: https://unix.stackexchange.com/questions/50198/reformatting-a-large-number-of-xml-files
10
11
12
13
Note: See TracBrowser for help on using the repository browser.