I have two 100% identical empty .sh
shell script files on Mac:
The contents of encrypt.sh
and its hexdump:
The contents of decrypt.sh
and its hexdump:
The file info window of encrypt.sh
:
The file info window of decrypt.sh
:
They have the exact same hexdump, then how is it possible that they have different sizes?
Mac OS X file system is implementing forks, so the larger one is likely having something specific stored in its resource fork .
Use ls -l@
to get more details.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.