P is for Practical | |
PerlMonks |
Re: Problems using File::stat,Find under windowsby metadoktor (Hermit) |
on Mar 21, 2002 at 17:31 UTC ( [id://153362]=note: print w/replies, xml ) | Need Help?? |
When I run the program (on a Windows box) looking for, say ".mp3" files, i get one answer for the total size of all files with mp3 extensions, but when I look for the "*.mp3" files in the windows search utility, I get a different (larger) answer. Is File::stat doing something wrong or am I not finding all mp3 files?
IIRC, there is a difference between the actual size of a file and the amount of space it actually occupies. You may be running into this problem. If you've ever used TreeSize Professional you would have noticed that there is 'wasted' space that is taken up (allocated) by files but not actually used to store anything. metadoktor "The doktor is in."
In Section
Seekers of Perl Wisdom
|
|