I have to copy a directory structure to a new host as part of an application migration. The directory structure is as follows:
{10 - ff} / {00 - ff} / {00 - ff} (non-inclusive) / uniquefilename
So there are millions of files. The third level of the tree is not fully populated, and not every third level directory has a file in it.
a du takes a LONG time to complete for even a second level folder. Using tar | nc would take 10 days. I can get a 1 day outage, but not 10.
