Re: copying a million tiny files?

2007-11-02 Thread Richard Copley
Portability to non-Windows systems is of course a problem but xcopy is present on every install of Windows that has ever existed going back to some very old version of MS-DOS so it is probably one of the most portable commands in existance on this platform. Well, you'd think.

Re: copying a million tiny files?

2007-11-02 Thread Brian Dessent
Richard Copley wrote: Well, you'd think. Just because they made an improved version of the command in Vista doesn't mean that the old xcopy ceases to work or to be just as portable as it's always been. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: copying a million tiny files?

2007-11-01 Thread Brian Dessent
d.henman wrote: From what Gary mentions. indeed rsync is the best way to go. At least for thinking, on time backups. With rsync, only the first time is slow. Did you even *read* the original question? He didn't say anything about doing incremental backups, he just wanted to move some

Re: copying a million tiny files?

2007-11-01 Thread Erich Dollansky
Hi, Brian Dessent wrote: Using xcopy, is kind of silly and wont get you compatiblity.. especially in scripts Portability to non-Windows systems is of course a problem but xcopy is present on every install of Windows that has ever existed going back to some very old version of

Re: copying a million tiny files?

2007-11-01 Thread Marco Atzeri
--- Erich Dollansky ha scritto: if I remember right, XCOPY is older than any networking stuff on this plattform. It should be there since the first hard disks have been there. Not so old. I think only from MSDOS 5.0 Regards Marco ___ L'email

Re: copying a million tiny files?

2007-11-01 Thread DePriest, Jason R.
On Nov 1, 2007 6:31 AM, Marco Atzeri wrote: --- Erich Dollansky ha scritto: if I remember right, XCOPY is older than any networking stuff on this plattform. It should be there since the first hard disks have been there. Not so old. I think only from MSDOS 5.0 Regards Marco

copying a million tiny files?

2007-10-31 Thread sam reckoner
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,

Re: copying a million tiny files?

2007-10-31 Thread Brian Mathis
On 10/31/07, sam reckoner [EMAIL PROTECTED] 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

Re: copying a million tiny files?

2007-10-31 Thread Brian Ford
On Wed, 31 Oct 2007, sam reckoner 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

Re: copying a million tiny files?

2007-10-31 Thread Brian Dessent
sam reckoner 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 know it's heresy but if you just want to copy files why not use the native

RE: copying a million tiny files?

2007-10-31 Thread Gary R. Van Sickle
From: Brian Dessent sam reckoner 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 know it's heresy but if you just want

Re: copying a million tiny files?

2007-10-31 Thread Larry Hall (Cygwin)
Brian Dessent wrote: sam reckoner 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 know it's heresy but if you just want to copy files

Re: copying a million tiny files?

2007-10-31 Thread Andrew DeFaria
Larry Hall (Cygwin) wrote: I'm sorry Brian. We put up with allot from you but I think we have to draw the line at heresy. What is the penalty for heresy around here anyway? Expulsion? Flogging? Burning at the stake? They all sound good! But we must make sure that whatever we choose is

Re: copying a million tiny files?

2007-10-31 Thread Andrew DeFaria
Gary R. Van Sickle wrote: I have a similar situation to the OP (copying many thousands of small files over a fairly slow link), and actually timed using XCOPY vs. Cygwin methods (cp in my case). It didn't make a significant difference. Ultimately what I think you run into in these sorts of

RE: copying a million tiny files?

2007-10-31 Thread d.henman
From what Gary mentions. indeed rsync is the best way to go. At least for thinking, on time backups. With rsync, only the first time is slow. For one shot backups of many files,using tar to group them into one and then sending is a good idea. Using xcopy, is kind of silly and wont