(Continuing the thread archived at
http://sourceforge.net/mailarchive/forum.php?thread_name=20080128082704.03568f0c%40szpak&forum_name=rsnapshot-discuss .)
On Mon, 2008-01-28 at 09:51 -0500, Matt McCutchen wrote:
> On Mon, 2008-01-28 at 08:27 +0100, Janek Kozicki wrote:
> > Is it possible to modify rsnapshot-diff (a very useful command
> > nonetheless) so that it will write size of each file?
> >
> > If size would be written first (before +/-) it would be possible to
> > simply ` | sort -rn` by size. That would be great to find the
> > "important" changes, while ignoring a lot of small files changes (like
> > browser caches, sockets, or other junk).
>
> I like this idea, and I implemented an option to rsnapshot-diff to do
> this in the attached patch. Except I thought having a number in front
> of the + or - looked ugly, so I put the number after it, so you use
> "sort -k 2 -rn" instead of "sort -rn".
David,
Shall I commit this enhancement?
--
Matt
|