Bug 2131 - Create db files for local/remote directory listing
Summary: Create db files for local/remote directory listing
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 2.6.3
Hardware: All All
: P4 enhancement (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
Depends on:
Reported: 2004-12-08 03:39 UTC by Nick Katsamas
Modified: 2009-09-16 00:33 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Nick Katsamas 2004-12-08 03:39:54 UTC
Is it possible to add an option to rsync "--create-db" to create a database
file/s for local directory listings - before the connection to the server -
and/or remote directory listing to speedup the compare/delete/transfer process.
The problem that I have is when I download large number of files ( eg: CPAN
Archive it's about 154000 files ) it takes about 7 - 8 hours to complete,
especially if the drive is NFS drive. Mayby this will solve the timeout problems.


--create-db     --->  Create database
--db-file=      --->  database path/file name
--update-db     --->  Update database files ( for cron )
--db-from-file= --->  Config file for db files

config db file format:
[path to db-file]/[file]  [path to local directory]

The last 2 options will be useful for mirror sites
Comment 1 Matt McCutchen 2009-09-16 00:33:31 UTC
Related to bug 3579.