http://www.perlmonks.org?node_id=830821


in reply to copy script

Hi raghu_shekar,

Read all the files in an array. Using perlre match the partial filename with the original file name, as per your requirement. Then using copy function, you can copy to the target location.
For example:

if ($original_filename =~ /$partial_name/){ // add some more conditions to filter further based on your requiremen +t }

Prasad