Hello!
I am trying to compare a list of files in 2 directories - one on our unix server (I'll call it 'ours') and one on a site we ftp to (I'll call it 'ftp'). I need to make sure that after we ftp, the names that we put out there match the names we have on our side. I was thinking to create a... (1 Reply)
Is it possible to use the diff command to compare two directories on different Unix (AIX) servers?
We have two regions set up and we want to be able to compare if the scripts directory in both regions contain the same files?
I want to figure out if its possible.. Have been messing around by... (10 Replies)
i have been asked to write a bash shell script comparing two directories and sed or awk should not be used in this assignment. compdir will compare filenames in two directories, and list information about filenames that are in one directory but not the other. The information listed will be a long... (1 Reply)
Hi
Is it possible to compare the modified dates of all the files in two directories using shell script?
I would like to take a backup of a directory in production server regularly.
Instead of copying all the files in the directory, is it possible to list only the files that are... (2 Replies)
Hello all,
I need to write a script which has following requirement:
Need to read the filenames from text file and then search for the above read files in the required directory and if match found backup them in a backup folder.
And also need to compare and verify whether the files in the... (7 Replies)
Hi,
I have got a requirement for which i need your help. The following problem is required to get solved in PERL SCRIPT. Here is the requirement.
There are 4 folders say SRC_DIR1, SRC_DIR2 and TGT_DIR_1,TGT_DIR_2
(Note: both path of SRC_DIR1 & SRC_DIR2 are different but both path of... (1 Reply)
Hi,
I have got a requirement for which i need your help. The following problem is required to get solved in PERL SCRIPT. Here is the requirement.
There are 4 folders say SRC_DIR1, SRC_DIR2 and TGT_DIR_1,TGT_DIR_2
(Note: both path of SRC_DIR1 & SRC_DIR2 are different but both path of... (4 Replies)
Hi,
I am planning to automate the comparison of data between few tables in 2 different databases ( Teradata and sql server).
Below is the approach which I think of. Please suggest any improvements/Modification :
1) The sql server file is having more records and I have to eliminate the... (5 Replies)
Hi all,
I have 2 directories on two different servers. I am trying to find out what is missing from directory X and what is missing from directory Y. they should both have the same exact files in them.
I understand some files may be missing from both directories on each server. I am not sure... (8 Replies)
Discussion started by: jeffs42885
8 Replies
LEARN ABOUT DEBIAN
rsnapshot-diff
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)