osx - How can two 100% identical files have different sizes? -
i have 2 100% identical empty .sh
shell script files on mac:
- encrypt.sh: 299 bytes
- decrypt.sh: 13 bytes (actually size correct, since have 13 bytes: 11 character + 2 new line)
the contents of encrypt.sh
, hexdump:
the contents of decrypt.sh
, hexdump:
the file info window of encrypt.sh
:
the file info window of decrypt.sh
:
they have exact same hexdump, how possible have different sizes?
mac os x file system implementing forks, larger 1 having specific stored in resource fork.
use ls -l@
more details.
Comments
Post a Comment