|P is for Practical
how to move multiple filesby ObiPanda (Acolyte)
|on Sep 08, 2023 at 02:31 UTC
ObiPanda has asked for the wisdom of the Perl Monks concerning the following question:
I'm sure this is straight forward, but I'm not fully understanding glob or I'm approaching this wrong. File::Copy allows me to move files, and, unless I'm mistaken, I should use glob to move multiple files. The problem is how do I get the file names so I can deposit them in the destination path?
I'm thinking it should look something like the following: