mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-27 08:50:01 +00:00
10 lines
294 B
Python
Executable File
10 lines
294 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import sys
|
|
import os
|
|
import os.path
|
|
|
|
indir, intype, inaddress = sys.argv[1:]
|
|
with open(os.path.join(indir, "_FileInformation.txt"), "w") as writer:
|
|
writer.write("\r\n".join(["%s=Type(%s),AuxType(%s),Access(C3)" % (f, intype, inaddress) for f in os.listdir(indir)]))
|