[Gllug] Flat rsync

Andrew Farnsworth farnsaw at stonedoor.com
Sat Jul 12 10:12:10 UTC 2008


I know I am going to get flamed for this, but it is a problem at work 
and I am looking for help.

Under windows, I have a 25 Gb directory that contains millions of small 
files to the point where it actually uses 96 Gb of disk space (due to 
block / cluster size issues).  I need to transfer this to another server 
and windows copy takes ages (it was running for 3 days before some 
mo.... err support tech killed the session)  Now I am looking for faster 
alternatives.  I have tried taring up the directory but the sheer size 
of it is killing tar.  Would rsync work under windows? and would it 
maintain windows permissions?

Thanks in advance for not trashing me too much on this.  It is work and 
we are required to use windows.  On the other hand, all our web / app / 
database server are running linux.

Andy

Stephen Nelson-Smith wrote:
> Hi,
>
> I have a filesystem with a number of subdirectories and files inside each one.
>
> I want to rsync all the files from that filesystem to a machine
> somewhere else, but on the destination machne all I want is all the
> files in one place - I don't want to replicate the directory structure
> - just all the files.
>
> Any ideas how best to do this?
>
> S.
>   

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list