4cade/bin/buildfileinfo.py
2018-10-23 15:44:06 -04:00

10 lines
255 B
Python
Executable File

#!/usr/bin/env python3
import sys
import os
import os.path
indir = sys.argv[1]
with open(os.path.join(indir, "_FileInformation.txt"), "w") as writer:
writer.write("\r\n".join(["%s=Type(06),AuxType(4000),Access(C3)" % f for f in os.listdir(indir)]))