1rsnapshot-diff(1)               rsnapshot-tools              rsnapshot-diff(1)
2
3
4

NAME

6       rsnapshot-diff - a utility for comparing the disk usage of two
7       snapshots taken by rsnapshot
8

SYNOPSIS

10       rsnapshot-diff [-h|vVi] dir1 dir2
11

DESCRIPTION

13       rsnapshot-diff is a companion utility for rsnapshot, which traverses
14       two parallel directory structures and calculates the difference between
15       them.  By default it is silent apart from displaying summary
16       information at the end, but it can be made more verbose.
17
18       In the summary, "added" files may very well include files which at
19       first glance also appear at the same place in the older directory
20       structure.  However, because the files differ in some respect, they are
21       different files.  They have a different inode number.  Consequently if
22       you use -v most of its output may appear to be pairs of files with the
23       same name being removed and added.
24

OPTIONS

26       -h (help)
27           Displays help information
28
29       -H (human)
30           Display more human-friendly numbers - as well as showing the number
31           of bytes changed, also show MB and GB.
32
33       -i (ignore)
34           If verbosity is turned on, -i suppresses information about
35           symlinks, directories, and special files.
36
37       -s (show size)
38           Show the size of each changed file after the + or - sign.  To sort
39           the files by decreasing size, use this option and run the output
40           through "sort -k 2 -rn".
41
42       -v (verbose)
43           Be verbose.  This will spit out a list of all changes as they are
44           encountered, apart from symlink, as well as the summary at the end.
45
46       -V (more verbose)
47           Be more verbose - as well as listing changed files, unchanged files
48           and symlinks will be listed too.
49
50       dir1 and dir2
51           These are the only compulsory parameters, and should be the names
52           of two directories to compare.  Their order doesn't matter,
53           rsnapshot-diff will always compare the younger to the older, so
54           files that appear only in the older will be reported as having been
55           removed, and files that appear only in the younger will be reported
56           as having been added.
57

SEE ALSO

59       rsnapshot
60

BUGS

62       Please report bugs (and other comments) to the rsnapshot-discuss
63       mailing list:
64
65       <http://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss>
66

AUTHOR

68       David Cantrell <david@cantrell.org.uk>
69
71       Copyright 2005-2010 David Cantrell
72

LICENCE

74       This program is free software; you can redistribute it and/or modify it
75       under the terms of the GNU General Public License as published by the
76       Free Software Foundation; either version 2 of the License, or (at your
77       option) any later version.
78
79       This program is distributed in the hope that it will be useful, but
80       WITHOUT ANY WARRANTY; without even the implied warranty of
81       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
82       General Public License for more details.
83
84       You should have received a copy of the GNU General Public License along
85       with this program; if not, write to the Free Software Foundation, Inc.,
86       51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
87
88
89
90rsnapshot-tools                   2023-07-21                 rsnapshot-diff(1)
Impressum