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: encrypt.sh

the contents of decrypt.sh , hexdump: decrypt.sh

the file info window of encrypt.sh:

encrypt info

the file info window of decrypt.sh:

decrypt info

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

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -