Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #788
Difficulty: Medium
Steve Wozniak was expelled from the University of California, Berkeley in his first year for hacking the university's computer system.
True or False?
Linux & Unix Commands - Search Man Pages

rsnapshot-diff(1) [debian man page]

rsnapshot-diff(1)														 rsnapshot-diff(1)

NAME
rsnapshot-diff - a utility for comparing the disk usage of two snapshots taken by rsnapshot SYNOPSIS
rsnapshot-diff [-h|vVi] dir1 dir2 DESCRIPTION
rsnapshot-diff is a companion utility for rsnapshot, which traverses two parallel directory structures and calculates the difference between them. By default it is silent apart from displaying summary information at the end, but it can be made more verbose. In the summary, "added" files may very well include files which at first glance also appear at the same place in the older directory structure. However, because the files differ in some respect, they are different files. They have a different inode number. Consequently if you use -v most of its output may appear to be pairs of files with the same name being removed and added. OPTIONS
-h (help) Displays help information -v (verbose) Be verbose. This will spit out a list of all changes as they are encountered, as well as the summary at the end. -V (more verbose) Be more verbose - as well as listed changes, unchanged files will be listed too. -i (ignore) If verbosity is turned on, -i suppresses information about symlinks, directories, and special files. dir1 and dir2 These are the only compulsory parameters, and should be the names of two directories to compare. Their order doesn't matter, rsnapshot-diff will always compare the younger to the older, so files that appear only in the older will be reported as having been removed, and files that appear only in the younger will be reported as having been added. SEE ALSO
rsnapshot BUGS
Please report bugs (and other comments) to the rsnapshot-discuss mailing list: http://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss <http://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss> AUTHOR
David Cantrell <david@cantrell.org.uk> COPYRIGHT
Copyright 2005 David Cantrell LICENCE
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 2011-07-09 rsnapshot-diff(1)

Check Out this Related Man Page

GDIFFMK(1)						      General Commands Manual							GDIFFMK(1)

NAME
gdiffmk - mark differences between groff/nroff/troff files SYNOPSIS
gdiffmk [ -aaddmark ] [ -cchangemark ] [ -ddeletemark ] [ -D [ -B ] [ -Mmark1 mark2 ] ] [ -xdiffcmd ] [ -- ] [ --help ] [ --version ] file1 file2 [ output ] DESCRIPTION
gdiffmk compares two groff(1), nroff(1), or troff(1) documents, file1 and file2, and creates an output which is file2 with added `margin character' (.mc) commands that indicate the differences. If the output filename is present, the output is written there. If it is - or absent the output is written to the standard output. If the file1 or file2 argument is - the standard input is read for that input. Clearly both cannot be -. Note that the output is not necessarily compatible with all macro packages and all preprocessors. See the BUGS section below. OPTIONS
-aaddmark Use the addmark for source lines not in file1 but present in file2. Default: +. -B By default, the deleted texts marked by the -D option end with an added troff break command, .br, to ensure that the deletions are marked properly. This is the only way to guarantee that deletions and small changes get flagged. This option directs the program not to insert these breaks; it makes no sense to use it without -D. -cchangemark Use the changemark for changed source lines. Default: |. -ddeletemark Use the deletemark for deleted source lines. Default: *. -D Show the deleted portions from changed and deleted text. Default delimiting marks: [[ .... ]]. -Mmark1 mark2 Change the delimiting marks for the -D option. It makes no sense to use this option without -D. -xdiffcmd Use the diffcmd command to perform the comparison of file1 and file2. In particular, diffcmd should accept the GNU diff -Dname option. Default: diff(1). -- All the following arguments are treated as file names, even if they begin with -. --help Print a usage message on standard error output and exit. --version Print version information on the standard output and exit. BUGS
The output is not necessarily compatible with all macro packages and all preprocessors. A workaround that is often successful against pre- processor problems is to run gdiffmk on the output of all the preprocessors instead of the input source. gdiffmk relies on the -Dname option of GNU diff(1) to make a merged `#ifdef' output format. It hasn't been tested whether other versions of diff(1) do support this option. See also the -xdiffcmd option. Report bugs to bug-groff@gnu.org. Include a complete, self-contained example that will allow the bug to be reproduced, and say which ver- sion of gdiffmk you are using. AUTHORS
This document was written and is maintained by Mike Bianchi <MBianchi@Foveal.com>. This document is distributed under the terms of the FDL (GNU Free Documentation License) version 1.1 or later. You should have received a copy of the FDL on your system, it is also available on-line at the GNU copyleft site <http://www.gnu.org/copyleft/fdl.html>. gdiffmk is part of the groff GNU free software project. All parts of the groff package are protected by GNU copyleft licenses. The soft- ware files are distributed under the terms of the GNU General Public License (GPL), while the documentation files mostly use the GNU Free Documentation License (FDL). COPYRIGHT
Copyright (C) 2004, 2005 Free Software Foundation, Inc. gdiffmk is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. gdiffmk is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with groff; see the file COPYING. If not, write to the Free Soft- ware Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA. SEE ALSO
groff(1), nroff(1), gtroff(1), diff(1) Groff Version 1.19.2 26 May 2005 GDIFFMK(1)

Featured Tech Videos