I need a utility to move a file tree from a non-AFS filesystem (AIX jfs) into
an AFS filesystem.  It must be able to deal appropriately with hard links.

AIX tar when used in the following way:

        tar cf - xxx | (cd /afs/.../yyy; tar xpf -)

generates thousands of error messages for all the hard links.

The documentation for AIX tar sez that you should be able to get around this
by using the '-s' option which is supposed to create a symbolic link if the
creation of a hard link fails.

So I tried:

        tar cf - xxx | (cd /afs/.../yyy; tar xpsf -)

and guess what!   IT WORKED!!

I just had to share this.  I'm so amazed.

-Rick

|Rick Cochran             607-255-7223               [EMAIL PROTECTED]|
|Cornell Materials Science Center                    [EMAIL PROTECTED]|
|E20 Clark Hall, Ithaca, N.Y. 14853          cornell!msc.cornell.edu!rick|

Reply via email to