Re:My experience with using cp to copy 432 million files (39...
by vhost- on Thursday September 11, 2014 @06:47PM
(#8305635)
I'm unfamiliar with tar|tar, can you provide some incite into this trick?
[ Parent
| on HN ]
Re:My experience with using cp to copy 432 million files (39...
by brazzy on Thursday September 11, 2014 @07:20PM
(#8305772)
Not much of a trick, the first tar serializes the entire directory structure including all the metadata into a stream of bytes, from which the second tar reassembles it.
Basically the same as tar's standard usage, except you don't store that stream as a tar file/image anywhere.