At 09:26 p +0900 06/15/2011, Nobumi Iyanaga didst inscribe upon an
electronic papyrus:
>-- And in the result, I found many many zero byte files. I checked
>some of them, and found that some of them were indeed zero byte, but
>others were not (there were for example many alias files which
>returned zero byte with Perl's file test "-s"). So, it seems that
>Perl's file test "-s" is not very reliable when we have to deal with
>Mac file system.
>
>It seems that "ls -l" gives the same zero byte for alias files, etc.
>
>Does anyone know how it is possible to get the "real" byte size of
>files with some Unix tool?
Unix tool to check the size of a file's resource fork:
> ls -l filename/..namedfork/rsrc
-wataru ^_^