mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 01:51:29 -07:00
14 lines
357 B
Python
14 lines
357 B
Python
import glob, shutil
|
|
|
|
exports = input("Path of folder of exported Crowdin files: ")
|
|
dest = input("Destination resources folder: ")
|
|
|
|
for filename in glob.glob(f"{exports}\\**\\*.*", recursive=True):
|
|
print(f"Copying {filename}")
|
|
|
|
suffix = ""
|
|
|
|
if filename.endswith("Strings.bs-BA.resx"):
|
|
suffix = "\\Strings.bs.resx"
|
|
|
|
shutil.copy(filename, dest + suffix) |