Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Problems using File::stat,Find under windows

by metadoktor (Hermit)
on Mar 21, 2002 at 17:31 UTC ( #153362=note: print w/replies, xml ) Need Help??


in reply to Problems using File::stat,Find under windows

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."

  • Comment on Re: Problems using File::stat,Find under windows

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://153362]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2019-07-19 21:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?