At 04:32 -0500 11/25/03, Ari Kahn wrote:
>I use the cp or ditto commands to accomplish the last part.
>`cp $filename $chromat_dir`; #copy encountered file to the chromatograph_dir
>`ditto $filename $chromat_dir/$file_prefix$file_suffix`;
>
>I find that sometimes the sizes of the copied files are not the same.
>Original size 192 KB
>Copied size 4 KB

I don't think that cp is able to copy resource forks though there may be an Apple 
provided option. It sounds as though you are losing them.

My MPW heritage made me put this line in my .tcshrc script.

alias files ls -lF \*/..namedfork/data \*/..namedfork/rsrc

It will show the resource forks in the current working directory


-- 
--> On the eighth day, about 6 kiloyears ago, the Lord realized that free will would 
make man ask what existed before the Creation. So He installed a few gigayears of 
history complete with a big bang and a fossilized record of evolution. <--

Reply via email to