electricwizard84
Technical User
Hi,
I have developed a script that lists all the files in a folder (and subfolders) and writes the filename to a text file. For example, if filename.avi is in a folder c:\test\movie\filename.avi then the script will create a text file (and located as a destination directory) and on the first line will write filename.avi
If have removed some files from my complete list and what i want is a script that will match the filename of the file located in the main folder (including subfolders) and copy the files to a new folder. For example, if my text file has a list of files written as filename.avi on the first line and filename2.avi on the second line, the script will match the filenames that are located in c:\test (root folder) and copy the files to a new folder.
I know it's a big ask, but would there be anyone who would be able to get my started on this task?
I have developed a script that lists all the files in a folder (and subfolders) and writes the filename to a text file. For example, if filename.avi is in a folder c:\test\movie\filename.avi then the script will create a text file (and located as a destination directory) and on the first line will write filename.avi
If have removed some files from my complete list and what i want is a script that will match the filename of the file located in the main folder (including subfolders) and copy the files to a new folder. For example, if my text file has a list of files written as filename.avi on the first line and filename2.avi on the second line, the script will match the filenames that are located in c:\test (root folder) and copy the files to a new folder.
I know it's a big ask, but would there be anyone who would be able to get my started on this task?