Does anyone have a script to share that will do something like this ?
I need to copy the same file from multiple shares to one location .. I can copy the file and rename it , but this is on 100s of shares and I dont have the knowledge to do it in a mass scale .
basically I need the script to look on a text file for the path to the shares and copy logfile.log to one location . Issue is that since the file is the same , I need it to be renamed when copied so its not over ridden . I dont care about the file name that its copied to .. a number at the end will work .