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


in reply to Moving files and directories

Just out of curiosity, what happens when you pass an actual file? Eg.
my $inDir = "M:\AllFiles\test.txt"; my $outDir = "n:\allFiles\abc.txt";
And I would guess that you need to read each size of your files in your directory and then add them up.