# LyE (lud-x-south): docx -> txt with copy-paste # Nettisanat_LyE (lud-x-south): ods -> csv with export using | as delimiter # LyK_Simonas (lud-x-middle): ods -> csv with export using | as delimiter # LyKK-ven (lud): docx -> txt with copy-paste # LyKK-SU: docx -> ods with copy paste -> csv with export using | as delimiter # LyP (lud-x-north): xlsx -> csv with export using | as delimiter OUTPUT=output-2024-01-19 rm -rf "$OUTPUT" mkdir "$OUTPUT" php import.php "$OUTPUT" \ --LyE-txt=aineistot/LyE.txt \ --LyE-csv=aineistot/Nettisanat_LyE.csv \ --LyK=aineistot/LyK_Simonas.csv \ --LyKK-txt=aineistot/LyKK.txt \ --LyKK-csv=aineistot/LyKK-SU.csv \ --LyP=aineistot/LyP.csv php list-pages-to-delete.php "$OUTPUT" > todelete.txt cd ../.. ./maintenance/run ./extensions/Sanat/SanatImport.php --threads=$(nproc) extensions/Lud/mw ./maintenance/run ./extensions/Sanat/SanatImport.php --threads=$(nproc) extensions/Lud/"$OUTPUT" ./maintenance/run deleteBatch extensions/Lud/todelete.txt