>> 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
Paul Blackburn <[EMAIL PROTECTED]> wrote:
> 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.
[text deleted]
Hi Paul,
I didn't forget that requirement. cpio checks the dates and copies only newer
files to the destination directory. So it's no problem to do the copy a second
time (when the first trial was interrupted) because it just copies the not
yet transferred files (ok, it generates a lot of messages in this case).
Maybe other packages will do that more elegant
or with more options, but cpio seems to me a UNIX command which is available
on BSD as well as System V implementations as a "standard" - needs no
special effort.
We use cpio typically to move any size of trees into the AFS or between
filesystems. And I think others have used it to copy trees between two
cells (e.g. claiming a new AFS release from transarc to the local cell).
Karl Behler [EMAIL PROTECTED]
ASDEX Upgrade, Plasmaphysik, Garching, Germany phone: ++49/89/3299-1351