[PLUG] copying large numbers of files
Paul Heinlein
heinlein at madboa.com
Thu Mar 30 22:03:20 UTC 2006
On Thu, 30 Mar 2006, Brent Rieck wrote:
> I'm trying to make a copy of a directory tree containing a large
> number of very small files, and it's taking forever, as in 2 hours
> and counting. Is there a "fast" way to do this?
It'd be helpful to know what technique you're currently using. :-)
Me, I'm a sucker for tar and pipes:
# the traditional way
tar cf - dirA dirB | ( cd /dest/dir && tar xf - )
# the gnu way
tar c dirA dirB | tar xC /dest/dir
--
Paul Heinlein <> heinlein at madboa.com <> www.madboa.com
More information about the PLUG
mailing list