Displaying 20 results from an estimated 20000 matches similar to: "Comparing directories recursively"
2017 Oct 27
0
Comparing directories recursively
> Am 27.10.2017 um 23:27 schrieb H <agents at meddatainc.com>:
>
> What is the best tool to compare file hashes in two different drives/directories such as after copying a large number of files from one drive to another? I used cp -au to copy directories, not rsync, since it is between local disks.
>
> I found a mention of hashdeep on the 'net which means first running
2017 Oct 27
3
Comparing directories recursively
On Sat, 28 Oct 2017 00:47:32 +0200
Leon Fauster wrote:
> source:
>
> find . -type f -exec md5sum \{\} \; > checksum.list
>
> destination:
>
> md5sum -c checksum.list
Wouldn't diff be faster because it doesn't have to read to the end of every file and it isn't really calculating anything? Or am I looking at this in the wrong way.
--
MELVILLE THEATRE ~
2010 Jul 16
4
--compare-dest weirdness
Hi All,
I am writing a backup program for my computer. brief outline is as follows.
Running ubuntu 10.04
2 main partitions, / and /home, both ext3. 1 external usb hdd, ext3,
mounted to /backups/main.
once every couple of days, rsync backs up, using following command,
everything worth backing up in / and /home partitions to a folder
/backups/main/Full. command: "rsync -vrhRupElog
2014 Dec 21
2
How to force checksum in dry-run
I want to use rsync to diff two folders (with checksum) by using dry-run and itemize changes like this:
rsync -rni --checksum /dir1/ /dir2/> ~/Desktop/diff.log
However, I read that in --dry-run rsync wont do checksums. Is this true? If it is, is there a way to force checksums i dry-run mode?
2007 Nov 19
1
rsync-ing from two locations with same filenames (at different versions)
Hello,
I would like to have a full repository, say, holding files
full/a.txt (version 1)
full/b.txt (version 1)
full/c.txt (version 1)
and a repository of updates, for example
new/b.txt (version 2 - newer)
Then, I would like to call
rsync [flags] new/ full/ destination
to get
destination/a.txt (v.1)
destination/b.txt (v.2)
destination/c.txt (v.1)
This simple case works
2009 Feb 26
1
skip directory if checksum matches
Hello,
I routinely mirror databases with many directories, each containing
20,000 file or more. Many of the older directories rarely change and
are identical on the mirror(s), but rsync still sends over the file list
from all directories every time. This results in lists containing
hundreds of thousands (or millions) of files being sent on every rsync,
when only a few of the directories
2017 Oct 27
2
Comparing directories recursively
On 10/27/2017 05:35 PM, Frank Cox wrote:
> On Fri, 27 Oct 2017 17:27:22 -0400
> H wrote:
>
>> What is the best tool to compare file hashes in two different
>> drives/directories such as after copying a large number of files from one
>> drive to another? I used cp -au to copy directories, not rsync, since it is
>> between local disks.
> diff --brief -r dir1/
2014 Dec 21
1
How to force checksum in dry-run
I chose rsync over diff -r because diff -r is a binary comparison and it takes longer than creating a checksum. Isn't that correct?
I did not understand this:
> Rsync isn't even smart enough to not bother checksumming things that don't even have a comparison file.
--checksum seems to work as you say even in --dry-run mode. At least it takes a lot of time, which should be a good
2008 Sep 09
3
directories not correctly recognized rsync-3.0.4
Hi,
I'm running rsync-3.0.4 on my UNIX system. I've just updated from rsync-2.6.9.
I'm facing a general problem with the execution of files during a transfer process.
The situation: 2 Directories (dir1 and dir2) on one machine with a some files in dir1 which shall be translated to dir2.
rsync does not correctly recognize dir1 and dir2 as directories. It tries to transfer dir1 as a
2008 Oct 23
5
compare directories
Hello guys,
I have two mirrors. I need to compare files and directories on both mirrors
and as a result print list of those which are missing on mirror 2
What i did
find /data > find.mirror1
find /data > find.mirror2
Now i need to get list of those directories which are missing in mirror1.
Thanks in advance!
David
-------------- next part --------------
An HTML attachment was
2007 Dec 06
1
Delete files using no recursion
Hi all,
I'm running rsync (2.6.2) this way (which do not remove files from the
destination side which were removed from the sending side):
rsync -vbu --backup-dir=/bkp --stats /dir1/*.fle /dir2
I want to sync all .fle files from dir1 to the dir2 and also remove
files from the destination which were removed from the sending side,
using no recursion. Already tried this:
2009 Jun 03
4
Good md5sum snapshot tool?
I have a server that is undergoing some patching soon and would like
to make note of any files that have changed after the patching is
complete. Can you recommend a tool that uses md5sum snapshots to do a
quick before and after test, showing anything that's changed on a
particular file system?
2018 Aug 21
2
[Bug 13587] New: Add a --dry-run way to show destination for each item
https://bugzilla.samba.org/show_bug.cgi?id=13587
Bug ID: 13587
Summary: Add a --dry-run way to show destination for each item
Product: rsync
Version: 3.1.2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: core
Assignee: wayned at samba.org
2005 Jan 19
4
How to replace slashes with back slashes
Dear R-helpers
I am running R2.0.0 under Windows 2000. I am compiling a number of file paths into a simple text file that will be read by some other software we use. Unfortunately, it can only handle file paths with back slashes (MS Windows convention), and from R, I get file paths with forward slashes. The following didn't work.
> gsub('/', '\\',
2012 Dec 03
4
How to calculate the spatial correlation of several files?
dir1 <- list.files("C:\\Users\\aalyaari\\Desktop\\cor", "*.bin",
full.names = TRUE)
dir2 <- list.files("C:\\Users\\aalyaari\\Desktop\\cor2", "*.bin",
full.names = TRUE)
results <- list()
for (.files in dir1){ # read in the 365 files as a vector of
numbers for dir1
file1 <- do.call(rbind,(lapply(.files, readBin ,
2017 Oct 27
0
Comparing directories recursively
On Fri, 27 Oct 2017 17:27:22 -0400
H wrote:
> What is the best tool to compare file hashes in two different
> drives/directories such as after copying a large number of files from one
> drive to another? I used cp -au to copy directories, not rsync, since it is
> between local disks.
diff --brief -r dir1/ dir2/
might do what you need.
If you also want to see differences for files
2013 Dec 02
2
symlink in -R src_dirlist and real dirs on target
Hi folks,
I have a bunch of directories to mirror via rsync. I have lots of
hardlinked files spread about these directories. Therfore I use -R
(--relative) and -H.
so far ok but:
I create symlinks to the source-directories via script because src-dirs
have changing names (date and time of backup) and I want to have constant
directory names on target. How can I achieve that?
I thought -k
2018 May 15
2
New 3.12.7 possible split-brain on replica 3
Thank you Ravi for your fast answer. As requested you will find below the "stat" and "getfattr" of one of the files and its parent directory from all three nodes of my cluster.
NODE 1:
File: ?/data/myvolume-private/brick/dir1/dir2/dir3/dir4/dir5/dir6/dir7/dir8/dir9/dir10/OC_DEFAULT_MODULE/filename.shareKey?
Size: 0 Blocks: 38 IO Block: 131072 regular
2004 Feb 06
3
Please help : Strange 'file has vanished' behaviour with rsync on windows.
Please help : Strange 'file has vanished' behaviour with rsync on windows.
I need to run rsync on windows and sync shares thru UNC names.
When I try :
rsync -e ssh -av //mypc1/myshare1/dir1/* //mypc1/myshare1/dir2/.
rsync does a copy but says "file has vanished" for every file.
Then when I run:
rsync -e ssh -av --dry-run //mypc1/myshare1/dir1/* //mypc1/myshare1/dir2/.
it shows
2007 Dec 28
1
Odd behavior with --detect-renamed
Hello,
I'm totally new to this list, so I hope I don't break all the rules. :)
I've looked through the archives (and google), and I really can't find the
answer to my question.
I'm trying out the 'detect-renamed'-patch, and I've encountered some odd
behavior. I've applied the patch to both rsync-2.6.9 and rsync-3.0.0pre7,
and it's the same behavior.