[Bug 10338] Start deletion from the top of the hierarchy

samba-bugs at samba.org samba-bugs at samba.org
Thu Dec 19 08:50:23 MST 2013


https://bugzilla.samba.org/show_bug.cgi?id=10338

--- Comment #2 from Ben RUBSON <ben.rubson at gmail.com> 2013-12-19 15:50:22 UTC ---
Paul, yes you're right, files have to be deleted on by one, but perhaps Rsync
overhead could be skipped.

I made some tests, I created a directory with 300k files in it.
I deleted it with Rsync, and with rm command.
I did this test several times.
On my server, it took about 20 seconds with rm, about 40 seconds with Rsync.

Of course this is just a test example, each of the top directories of my
production backup are much bigger, impact is then more important.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the rsync mailing list