jammer ha scritto:
> I thought these would be the same but the first one finds files but the1M means 1 *single* unit (of 1048576 bytes).
> $ find . -name \* -size 1M
A 3 bytes file does indeed use (part of) 1 single unit of 1048576 bytes.
A 1048577 bytes file uses 2 single unit of 1048576 bytes (the first unit,
and one byte of the second unit).
So: with "-size 1M" you'll catch al files whose size S is: 0 < S <=
1024k means 1024 units (of 1024 bytes each).
1048576B means exactly 1048576 bytes.
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.