2

A certain program I'm developing, requires to be fed with some file sizes on the disk, in order to work.. I'm using the stat command in Terminal to achieve this.. However, stat can't calculate the actual size of the files downloded from a Bittorrent client. Does anyone know a way to do it? THANKS!

1 Answer 1

1

Assuming you mean how much disk space is used holding the parts already downloaded, that would be the Blocks x Block Size that stat reports.

1
  • Got it... stat -c '%b × %B' filename
    – Naveen
    Mar 13, 2013 at 10:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .