viewing actual file size of folder

Clash Royale CLAN TAG#URR8PPP
up vote
-2
down vote
favorite
I know that the command du -csbh will show you the actual file size of a directory.
This will be displayed as: 241 MB which is fine.
If I look in windows 10 at the properties of the same folder. The actual file size for the same directory is 240 MB.
Why is there a 1 MB difference? Is there a way to have cygwin (which is what I am using) to display the directory file size the same 240 MB?
files directory cygwin size
add a comment |Â
up vote
-2
down vote
favorite
I know that the command du -csbh will show you the actual file size of a directory.
This will be displayed as: 241 MB which is fine.
If I look in windows 10 at the properties of the same folder. The actual file size for the same directory is 240 MB.
Why is there a 1 MB difference? Is there a way to have cygwin (which is what I am using) to display the directory file size the same 240 MB?
files directory cygwin size
add a comment |Â
up vote
-2
down vote
favorite
up vote
-2
down vote
favorite
I know that the command du -csbh will show you the actual file size of a directory.
This will be displayed as: 241 MB which is fine.
If I look in windows 10 at the properties of the same folder. The actual file size for the same directory is 240 MB.
Why is there a 1 MB difference? Is there a way to have cygwin (which is what I am using) to display the directory file size the same 240 MB?
files directory cygwin size
I know that the command du -csbh will show you the actual file size of a directory.
This will be displayed as: 241 MB which is fine.
If I look in windows 10 at the properties of the same folder. The actual file size for the same directory is 240 MB.
Why is there a 1 MB difference? Is there a way to have cygwin (which is what I am using) to display the directory file size the same 240 MB?
files directory cygwin size
asked Mar 16 at 23:58
hitokiri
1
1
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
Putting aside for a moment the fact that this site is for Unix/Linux questions, how do we know that Windows determines size the same way that du does? We can't look at the Windows code since it's proprietary so barring official documentation describing exactly how the calculation is done one shouldn't be surprised by differences. But how hard can it be to count the number of bytes used by some files? Take a look at the answers to this question for some insight into why it is not an exact science: Why are there so many different ways to measure disk usage? (Of course there are no references to Windows but there's still useful information there.)
MB vs MiB? Think thats the likely explanation? Ive not done the math tho!
â Timothy Frew
Mar 19 at 21:07
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Putting aside for a moment the fact that this site is for Unix/Linux questions, how do we know that Windows determines size the same way that du does? We can't look at the Windows code since it's proprietary so barring official documentation describing exactly how the calculation is done one shouldn't be surprised by differences. But how hard can it be to count the number of bytes used by some files? Take a look at the answers to this question for some insight into why it is not an exact science: Why are there so many different ways to measure disk usage? (Of course there are no references to Windows but there's still useful information there.)
MB vs MiB? Think thats the likely explanation? Ive not done the math tho!
â Timothy Frew
Mar 19 at 21:07
add a comment |Â
up vote
0
down vote
Putting aside for a moment the fact that this site is for Unix/Linux questions, how do we know that Windows determines size the same way that du does? We can't look at the Windows code since it's proprietary so barring official documentation describing exactly how the calculation is done one shouldn't be surprised by differences. But how hard can it be to count the number of bytes used by some files? Take a look at the answers to this question for some insight into why it is not an exact science: Why are there so many different ways to measure disk usage? (Of course there are no references to Windows but there's still useful information there.)
MB vs MiB? Think thats the likely explanation? Ive not done the math tho!
â Timothy Frew
Mar 19 at 21:07
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Putting aside for a moment the fact that this site is for Unix/Linux questions, how do we know that Windows determines size the same way that du does? We can't look at the Windows code since it's proprietary so barring official documentation describing exactly how the calculation is done one shouldn't be surprised by differences. But how hard can it be to count the number of bytes used by some files? Take a look at the answers to this question for some insight into why it is not an exact science: Why are there so many different ways to measure disk usage? (Of course there are no references to Windows but there's still useful information there.)
Putting aside for a moment the fact that this site is for Unix/Linux questions, how do we know that Windows determines size the same way that du does? We can't look at the Windows code since it's proprietary so barring official documentation describing exactly how the calculation is done one shouldn't be surprised by differences. But how hard can it be to count the number of bytes used by some files? Take a look at the answers to this question for some insight into why it is not an exact science: Why are there so many different ways to measure disk usage? (Of course there are no references to Windows but there's still useful information there.)
edited Mar 18 at 8:21
answered Mar 17 at 0:31
B Layer
3,9001525
3,9001525
MB vs MiB? Think thats the likely explanation? Ive not done the math tho!
â Timothy Frew
Mar 19 at 21:07
add a comment |Â
MB vs MiB? Think thats the likely explanation? Ive not done the math tho!
â Timothy Frew
Mar 19 at 21:07
MB vs MiB? Think thats the likely explanation? Ive not done the math tho!
â Timothy Frew
Mar 19 at 21:07
MB vs MiB? Think thats the likely explanation? Ive not done the math tho!
â Timothy Frew
Mar 19 at 21:07
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f430704%2fviewing-actual-file-size-of-folder%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password