On Fri, 2003-01-03 at 10:15, John T. Douglass wrote:

> This is not true.  cp -r will in fact copy all the dot files.  The
> recursive option of copy picks up everything.  It does not however
> preserve the timestamps and links that the cp -a would (since the -a is
> the same as a -dpR).
> 
> What is more like the case is that many zero filled files (such as core
> dumps) were moved and when they were recreated they were no longer
> sparse files.  When moving large amounts of data to new file systems cp
> -r simply is the best option.  One alternative is a tar such as:
> 
>       tar cfS - blackduck | (cd /home1; tar xpSf -)
> 
> The S is for sparse files and will handle them efficiently.
> 
> Alternatives would be a dump/restore pipe or cpio pipe similar to above.
> 
> -- John

Doooh -- that should be "-r simply is NOT the best option"

-- John

-- 
John T. Douglass <[EMAIL PROTECTED]>
Argonne National Laboratory West



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to