Help me!.
My question is,
1. Open the CD-drive.[2 or more directories in it.]
2. Open each directory and search for the matching filename.
3. copy the matching file .
Please help me with this.
You might find it useful to take a look at the module File::Find. It recusively applies the operation of a function to every object in a directory tree.
Have that function return unless the filename given it matches what you're looking for, in which case it copies the file to the place you designate.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.