This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: copying a million tiny files?
On 10/31/07, sam reckoner <sam.reckoner@gmail.com> wrote:
> 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?
> Thanks in advance.
Try using tar or zip to make 1 file of the whole folder, then transfer
that one file.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/