rsync has big problem with leaving lots of empty dirs around...

Karl O. Pinc kop at meme.com
Fri Oct 19 10:32:06 MDT 2012


If you want help with your problem you're going to have
to describe exactly what you're doing; what command
you're running, what version of rsync, and so forth.

See:
http://www.catb.org/esr/faqs/smart-questions.html

On 10/17/2012 04:43:18 AM, Linda Walsh wrote:
> 
> 
> 
> 
> 
> The volume I am differencing a snapshot with has
> 595,400 dirs (424994 w/link count=2)
> & 5,703,820 files.
> 
> The diff volume starts with
> 233,764 files (a large multi-day diff)
> but 289,215 dirs!
> 
> I ran a script to clean out all the empty dirs...final tally:
> same # of files: 233764, but
> #dirs: 5462.
> 
> Thats about a huge amount of extra dirs -- I'm seeing
> almost a 10% reduction in the diff size by removing all
> the empty dirs.
> 
> At this point will likely run a clean up script on the diff vol 
> before
> I copy it to longer term storage, but it would be nice if the
> no-empty-dirs option worked... ;-)




Karl <kop at meme.com>
Free Software:  "You don't pay back, you pay forward."
                 -- Robert A. Heinlein



More information about the rsync mailing list