diff --git a/dirs/ar.zip b/dirs/ar.zip new file mode 100644 index 0000000..f5ecc2f Binary files /dev/null and b/dirs/ar.zip differ diff --git a/dirs/da.zip b/dirs/da.zip new file mode 100644 index 0000000..5a52cd7 Binary files /dev/null and b/dirs/da.zip differ diff --git a/dirs/de.zip b/dirs/de.zip new file mode 100644 index 0000000..b55a149 Binary files /dev/null and b/dirs/de.zip differ diff --git a/dirs/en.zip b/dirs/en.zip new file mode 100644 index 0000000..20e2be3 Binary files /dev/null and b/dirs/en.zip differ diff --git a/dirs/es.zip b/dirs/es.zip new file mode 100644 index 0000000..ab49d5f Binary files /dev/null and b/dirs/es.zip differ diff --git a/dirs/fi.zip b/dirs/fi.zip new file mode 100644 index 0000000..fb81f5e Binary files /dev/null and b/dirs/fi.zip differ diff --git a/dirs/fr.zip b/dirs/fr.zip new file mode 100644 index 0000000..6cad424 Binary files /dev/null and b/dirs/fr.zip differ diff --git a/dirs/it.zip b/dirs/it.zip new file mode 100644 index 0000000..bdeeea1 Binary files /dev/null and b/dirs/it.zip differ diff --git a/dirs/ja.zip b/dirs/ja.zip new file mode 100644 index 0000000..b8b2142 Binary files /dev/null and b/dirs/ja.zip differ diff --git a/dirs/kr.zip b/dirs/kr.zip new file mode 100644 index 0000000..4bbe3d1 Binary files /dev/null and b/dirs/kr.zip differ diff --git a/dirs/nl.zip b/dirs/nl.zip new file mode 100644 index 0000000..9e7c6fa Binary files /dev/null and b/dirs/nl.zip differ diff --git a/dirs/no.zip b/dirs/no.zip new file mode 100644 index 0000000..580ebef Binary files /dev/null and b/dirs/no.zip differ diff --git a/dirs/pl.zip b/dirs/pl.zip new file mode 100644 index 0000000..fc5d9be Binary files /dev/null and b/dirs/pl.zip differ diff --git a/dirs/pt-br.zip b/dirs/pt-br.zip new file mode 100644 index 0000000..1a35c0e Binary files /dev/null and b/dirs/pt-br.zip differ diff --git a/dirs/pt.zip b/dirs/pt.zip new file mode 100644 index 0000000..166336c Binary files /dev/null and b/dirs/pt.zip differ diff --git a/dirs/ru.zip b/dirs/ru.zip new file mode 100644 index 0000000..d7fb999 Binary files /dev/null and b/dirs/ru.zip differ diff --git a/dirs/sv.zip b/dirs/sv.zip new file mode 100644 index 0000000..8ae684e Binary files /dev/null and b/dirs/sv.zip differ diff --git a/dirs/tr.zip b/dirs/tr.zip new file mode 100644 index 0000000..e253883 Binary files /dev/null and b/dirs/tr.zip differ diff --git a/dirs/tw.zip b/dirs/tw.zip new file mode 100644 index 0000000..cc797a9 Binary files /dev/null and b/dirs/tw.zip differ diff --git a/dirs/ua.zip b/dirs/ua.zip new file mode 100644 index 0000000..329ae6e Binary files /dev/null and b/dirs/ua.zip differ diff --git a/dirs/zh.zip b/dirs/zh.zip new file mode 100644 index 0000000..dd1f47b Binary files /dev/null and b/dirs/zh.zip differ diff --git a/tools/ucsdirs.py b/tools/ucsdirs.py index 01d90b8..90f8fa4 100644 --- a/tools/ucsdirs.py +++ b/tools/ucsdirs.py @@ -16,7 +16,7 @@ import json SCHEDULE_JSON=sys.argv[1] # The path to create the directory tree in -OUTPUT_PATH='dirs' +OUTPUT_PATH=sys.argv[2] schedule = [] @@ -27,5 +27,5 @@ with open(SCHEDULE_JSON, "r") as fp: for cat in schedule: path = os.path.join(OUTPUT_PATH, cat['Category'], f"{cat['Category']} - {cat['SubCategory']}") - os.makedirs(path) + os.makedirs(path, exist_ok=True)