(cd forward && find . -name "*.xml" -exec xsltproc --param path '"{}"' -o $(CWD)/txt/{}.txt $(CWD)/metainfo.xsl {} \; -exec echo {} \;)
upload:
- (cd txt && find */* -name "*.txt" > index.txt)
- (cd txt && cat index.txt | ../inserisci.pl)
./upload_rel.pl forward_rel.xml | psql -h mowgli -U helm helm_mowgli_new_schema
./upload_sort.pl forward_sort.xml | psql -h mowgli -U helm helm_mowgli_new_schema
+ (cd txt && find */* -name "*.txt" > index.txt)
+ (cd txt && cat index.txt | ../inserisci.pl)
clean:
rm -rf txt/*