Commit 0b9f6001 authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

find Products

parent 5f2573c3
......@@ -44,6 +44,13 @@ def main(argv):
matchingProducts = list(set(fileNames) & set(fileNames))
print ( str(len(matchingProducts))+" of " + str(len(productList)) +" products found.")
outdir = sys.argv[5]
for f in matchingProducts:
os.system("ln -s " + f + outdir+f)
print (str(len(matchingProducts)) + " Linked to " + outdir)
# print(json.dumps(productList))
if __name__ == "__main__":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment