[PLUG] copying large numbers of files

Eric Wilhelm scratchcomputing at gmail.com
Thu Mar 30 23:32:20 UTC 2006


# from Paul Heinlein
# on Thursday 30 March 2006 02:56 pm:

>The timings will vary depending on network traffic and load on the
>file server, but in general tar is 20% faster. My hunch is that gobs
>of small files would tilt the equation even further in tar's
>direction.

I'm guessing that tar preserves permissions and symlinks in this case, 
but what about hardlinks between the directories being copied from one 
fs to another?  (quick test... the answer is yes)

I discovered yesterday that cp -a is all you need to migrate a dirvish 
vault to another drive (and here I thought those hardlinks were going 
to be trouble), but I guess tar does the trick just as well!

--Eric
-- 
"I've often gotten the feeling that the only people who have learned
from computer assisted instruction are the authors."
--Ben Schneiderman
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------



More information about the PLUG mailing list