When I do a search for the original file, I find ../../.AppleDouble/ sometimes. There are copies of the files I want to copy in ./AppleDouble that are 4 KB. What is an AppleDouble? -- Ari http://binf.gmu.edu/akahn/
> From: Doug McNutt <[EMAIL PROTECTED]> > Date: Tue, 25 Nov 2003 07:55:03 -0700 > To: "perl.org" <[EMAIL PROTECTED]> > Subject: Re: Cp and ditto do not always copy files the same size > > 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. <--
