Hi peamasii,
Here is a one liner that will look at all the files under your current directory, and sum the sizes of all files ending in mp3 (or Mp3 or MP3 etc)
The quotes may need changing for Window's though. I have no means of checking here, but it should be ok to insert into a script
perl -MFile::Find -le 'find ( sub { $s+= -s if /mp3$/i }, "." );print "size $s"'cheers
thinker
In reply to Re: getting filesize in windows
by thinker
in thread getting filesize in windows
by Peamasii
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |