use File::Util; use File::Copy; my($f) = File::Util->new(); my(@files) = $f->list_dir($dir,'--files-only'); foreach $file (@files) { copy ($file, "$targetDir/$file); }
In reply to Re: copying each and every file from source directory to destination directory
by weismat
in thread how to a specific group of files from source directory to destination directory
by asdfghjkl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |