I posted the following article yesterday:

>    We would like to duplicate files from one AFS domain to another by
> comparing the date and only copy over those files that has been changed,
> does anyone know programs that can do this other than 'mirror', 'rdist' 
> and 'lfu'? Any suggestions will be greatly appreciated!

   Quite a few people responded with valuable suggestions. I summarize the
suggestions below:

   | cpio       UNIX command
   | depot      see http://andrew2.andrew.cmu.edu
   | mirdir     see /afs/caspur.it/project/mirdir
   | package    see Transarc documentation or http://andrew2.andrew.cmu.edu
   | shadowdir  a shell script, contact http://acm.org/~mpb/homepage.html
   | up         see Transarc documentation      

   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

   Thanks for all the suggestions!

-- 
Terry Hung - Stanford Linear Accelerator Center
phone: 415-926-3618
e-mail: [EMAIL PROTECTED] 

Reply via email to