low memory way of getting file list?

Dave Gilbert (Home) gilbertd at treblig.org
Wed Jan 19 16:21:45 GMT 2005


Hi,
   I need to get a file list off a server using rsync; but it is a large
file list and uses ~1GB of RAM.  Does rsync really need to keep
this data structure around just for getting a file list (with -r)?

Failing that, can anyone recommend any rsync compatible library
that is efficient for this; ideally I'd like to sit in the loop of
filenames so I can exclude some directories if there are special
flag files in the directories they are in.

Thanks,

Dave


More information about the rsync mailing list