Subject: Re: [netatalk-admins] lost filetypes when copied under UNIX
From: Colin Eric Johnson (colinj@cs.unm.edu)
Date: Mon Aug 04 1997 - 13:40:16 EDT
On Mon, 4 Aug 1997, Patrik Schindler wrote:
> Hi,
>
> > Is therer not some rebuild function (like HELIOS has) to gather the
> > right info about the files? The AppleVolumes.system file seems to work
> > only on files with a file-extension. Most files on a MAC don't have
> > this.
>
> You'll have to copy the .AppleDouble Directory, too. Than you get the
> Information.
The best bet would probably be to use some form of tar such that you can
retain ownership, permissions and get the *entire* directory including the
.AppleDouble directory. Something like:
tar cf - . | (cd <new directory path here>; tar xBf -)
do this from the directory that you want to move and then have cd move to
the directory that you want the stuff moved to.
taken from p.340 of _Unix Power Tools_ from O'Reilly.
> P.S.: It's Mac, not MAC.
Mac is short for Macintosh
MAC could be Machine Access(?) Code, otherwise known as the ethernet
address.
Colin E. Johnson | colinj@unm.edu | http://www.unm.edu/~colinj/
Parker always felt things in his bones because, he said, it saved space.
This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:25:57 EST