Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: copying a million small files between disks?



"sam reckoner" <sam.reckoner@xxxxxxxxx> writes:

> I'm not exaggerating. I have over one million small files that like to
> move between disks. The problem is that even getting a directory
> listing takes forever.
> 
> Is there a best practice for this?
> 
> I don't really need the directory listing, I just need to move all the
> files. I have been using rsync, but that takes a very long time to
> generate the list of files to be moved.
> 
> Any alternatives?

Dump/restore won't get directory listings...  And it will traverse
them via libe2fs, which *might* be faster.

Phil.



Messages sorted by: Reverse Date, Date, Thread, Author