Quantcast
Channel: All System Administration posts
Viewing all articles
Browse latest Browse all 1179

Re: tar taking 2 hrs for filesystem with deep directory structure

$
0
0

Since you're on the same machine - cpio might be your friend.

Run this as root:

 

cd <sourcedirectory>

find . | cpio -pdmvu <destdirectory>

 

ex: sourcedirectory = /src, destdirectory = /dest

 

$> cd /src

$> find . | cpio -pdmvu /dest

 

-- This might run faster than tar - I would suspect that it would.


Viewing all articles
Browse latest Browse all 1179

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>