> > We would like to duplicate files from one AFS domain to another ...
...
> For cpio, the suggestion is (not fully tested yet):
> 1. create a named pipe (with mknod)
> cd /tmp; /etc/mknod PIPE p; chmod 666 PIPE
> 2. start first shell with first token to cpio into that pipe
> ..... cd source_dir; find . -depth -print| cpio -o > /tmp/PIPE
> 3. start second shell under second token (use pagsh?) cpio out of that pipe
> ..... cd dest_dir;cpio -idm < /tmp/PIPE
Since you're going from one domain to another, why bother with all
this complexity? Just klog twice to get a token in each domain then
do the copy with a normal pipeline, e.g.:
( cd source_dir; find . -depth -print| cpio -o ) |
( cd dest_dir;cpio -idm )
--
Karl Swartz |INet [EMAIL PROTECTED]
SLAC Computing Services | or [EMAIL PROTECTED]
1-415/926-3630 |UUCP uunet!lll-winken!unixhub!kls -or- ditka!kls
(SLAC and the US Dept. of Energy don't necessarily agree with my opinions.)