I have a file 'rock.mpg'rock.mpg in the folder directory '/folder1/folder2'/folder1/folder2. I need to create multiple (340) duplicate copies of this file in a different directory say '/folder1/folder2/folder3'/folder1/folder2/folder3 but with different unique filenames.
The unique names for the 340 duplicate copies are random and also not sequential. They are already defined in a separate text file file 'abc.txt'abc.txt which I have.
A sample of duplicate file names in 'abc.txt'abc.txt as follows
MS123.mpg
DW235.mpg
WQ6748.mpg
HDJ74.mpg
...
...
so
MS123.mpg
DW235.mpg
WQ6748.mpg
HDJ74.mpg
...
...
so on
Can this be achieved with shell script?