Commit 6b0903a5 authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

find Products

parent 0b9f6001
...@@ -45,7 +45,7 @@ def main(argv): ...@@ -45,7 +45,7 @@ def main(argv):
matchingProducts = list(set(fileNames) & set(fileNames)) matchingProducts = list(set(fileNames) & set(fileNames))
print ( str(len(matchingProducts))+" of " + str(len(productList)) +" products found.") print ( str(len(matchingProducts))+" of " + str(len(productList)) +" products found.")
outdir = sys.argv[5] outdir = sys.argv[6]
for f in matchingProducts: for f in matchingProducts:
os.system("ln -s " + f + outdir+f) os.system("ln -s " + f + outdir+f)
print (str(len(matchingProducts)) + " Linked to " + outdir) print (str(len(matchingProducts)) + " Linked to " + outdir)
......
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