Karl Behler [EMAIL PROTECTED] wrote:

    [ text deleted ]

    to use cpio since this command has a built-in pipe. Just use:
    
          cd source_dir; find . -depth -print| cpio -pdm dest_dir

Hi Karl,

I think the point of the original question was the capability to copy
only changed or new files across. If you attempt to duplicate 1GB of
files by making a fresh copy each day, you will be wastefully copying
many unchanged files.

I have seen several implementations of this only-copy-changed function
including track [1], mirdir [2], and sdir [3].
--
regards
paul                             http://acm.org/~mpb/homepage.html

References:

[1] track (an Athena tool) by Daniel Nachbar (man page dated april 1988)

[2] mirdir
    file:[EMAIL PROTECTED]/1996/824296960

[3] sdir (Korn shellscript)
    file:///afs/transarc.com/public/afs-contrib/tools/afs_install/sdir
    ftp://ftp.transarc.com/pub/afs-contrib/tools/afs_install/sdir

Reply via email to