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:
my @Temp_Files = glob("'$Temp_Files_Location/*'"); if (@Temp_Files != 0) { move(\@Temp_Files,$Phone_Sync_DIR/$_)";
In reply to how to move multiple files by ObiPanda
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |