Displaying 20 results from an estimated 10000 matches similar to: "How to diff two directories?"
2020 May 06
1
How to diff two directories?
On 5/5/20, Kevin Korb via rsync <rsync at lists.samba.org> wrote:
> Rsync != diff.
What do you mean? I only need to know what files are not the same, but
I don't need to know what the differences are with the files.
> However, if that command lists a file something is different about it.
> add --itemize-changes to find out what.
I see this output. What does
2018 Mar 20
2
Very slow to start sync with millions of directories and files
On Tue, Mar 20, 2018 at 5:49 PM Kevin Korb <kmk at sanitarium.net> wrote:
> Nothing there should be preventing incremental indexing. That means it
> should start copying as soon as it finds a file that needs to be copied.
>
Doesn't it tries to create all (empty) directories first?
> On 03/20/2018 02:33 PM, Bráulio Bhavamitra wrote:
> >
> >
> > Em seg, 19
2016 Jun 02
2
rsync keeps writing files over
OK. Thanks. Where can I find information regarding how to interpret
—itemize-changes?
The timestamps aren’t changing, so the target must not be storing them,
which I have no idea why. The directory I’m writing to is 777.
What is the flag to tell rsync to ignore the timestamps?
Thanks,
Blake
On 6/2/16, 6:18 PM, "rsync on behalf of Kevin Korb"
<rsync-bounces at lists.samba.org on
2016 Jun 02
2
rsync keeps writing files over
Thanks Kevin! I¹m unclear how to read the ‹itemize-changes output. Can you
provide some insight?
This is a local transfer from an external drive to an internal drive all
attached to one computer.
rsync -aPh --itemize-changes -n
/Volumes/shuttle_05/2012_79_1_14_1__1199_Workprint /Volumes/3TB_LTO/LT003A/
sending incremental file list
>f..t.......
2016 Jun 02
9
rsync keeps writing files over
Cool Thanks!
Specifically, the timestamps on both <src> and <dest> match for "ls -l"
but do not match for "ls -lu" or "ls -lc”
The storage is just an regular HDD in a mac pro tower. I can’t imagine why
it wouldn’t handle timestamps. Also of note - this problem doesn’t exist
for every file, just the vast majority. So, that just makes it more
confusing.
Yes,
2015 Jan 11
2
Link-dest thinks file is newly created, but it isn't
On Sat Jan 10 2015 at 5:21:33 AM Kevin Korb <kmk at sanitarium.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> What does --itemize-changes say about that file? Try using the stat
> command on the various copies of it to see what is different about them.
>
In my original message, I stated I used --itemize-changes, and I reported
the following:
>
2016 Dec 17
2
script showing extended stats ( deleted/added ...)
is there a script which analyses rsync output with --itemize-changes ?
i.e. i would like to have extended information on number of deleted files, created directories, changed files....
i know rsync 3.1.x is better with this, but it`s still not in centos 5/6/7 and i don`t want to update tons of systems to get extended statistics, so i wonder if anbody did an analyze script to get that information
2016 Jun 02
2
rsync keeps writing files over
Hi,
At my work we use rsync to move files between drives and to LTO among other things.
I'm having an issue using rsync to move material between and external drive and an internal drive.
We run "rsync -avvPh <src> <dest>" and most of the files keep writing every time I run this. It appears that the modification times are not being carried through to the destination
2018 Mar 20
2
Very slow to start sync with millions of directories and files
Em seg, 19 de mar de 2018 11:34, Kevin Korb via rsync <rsync at lists.samba.org>
escreveu:
> The performance of rsync with a huge number of files is greatly
> determined by every option you are using. So, what is your whole
> command line?
>
rsync -avP /data-old/ /data
>
> On 03/19/2018 09:05 AM, Bráulio Bhavamitra via rsync wrote:
> > Hi all,
> >
> >
2020 Aug 11
2
Meaning of "failed verification -- update retained (will try again)."
Hi,
I see some warnings like the following. Could anybody explains what
they mean? Thanks.
19/31274477.pdf
257,169,119 0% 1.26MB/s 0:03:15 (xfr#121,
to-chk=848309/1043298)WARNING: 18/32281577.pdf failed verification --
update retained (will try again).
WARNING: 19/28879866.pdf failed verification -- update retained (will
try again).
--
Regards,
Peng
2017 Mar 23
2
rsync: "-c" option clarification
Before anyone yells at me, yes, you can use rsync's --checksum to detect
(and fix) files that are incorrect despite having correct timestamps and
sizes. This would mean that a previous rsync had been corrupted not the
current one. But it is important to note that this would only be
reported to you if you also use --itemize-changes and what to look for
(a file with a c but not an s or a t).
2019 Oct 30
4
Seemingly impossible bug: -v not always listing every copied file
Thanks. I'll try that. But I agree that it'll be
something else. It's unlikely that whole trace files
are being overwritten, because there's locking in place
to prevent that sort of thing, but it's more likely
than anything else. I'll check that the locking is
working properly.
Although, when I last investigated it, it really did
look as though, in a single run of this
2015 Sep 30
2
Verifying backups
In message <560C660F.5000202 at sanitarium.net>,
Kevin Korb <kmk at sanitarium.net> wrote:
>Just add --itemize-changes and --checksum to what you were doing
>before and know that it will take a long time.
I'm still not getting to where I need to be. Maybe you can explain
what has gone wrong in this very simple example:
% mkdir one two
% echo hello > one/hello
% ln
2015 Apr 22
2
Changing only file permissions
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Normally, I would say that --checksum is actually slower than just
letting rsync re-copy everything and therefore is almost always the
wrong thing to do. However, in this case, you really don't want to
overwrite the running OS even with files that are essentially the
same. So, if the system is running from that storage then --checksum
might
2015 Oct 01
2
Verifying backups
In message <560C79FF.5010302 at sanitarium.net>,
Kevin Korb <kmk at sanitarium.net> wrote:
>Because you are making two/one. Change to:
>rsync -n -v --itemize-changes -checksum -a one/ two/
OK, I tried it with your suggested command line, and yes, that produces
rather more substantially useful results. However...
Perhaps I am just a bit thick, but I really don't have any
2016 Dec 17
1
script showing extended stats ( deleted/added ...)
for pre 3.0.9 which is still standard in centos7 with recent updates, --stats does neither show number of deleted, nor added files
Am 17. Dezember 2016 18:06:56 MEZ, schrieb Kevin Korb <kmk at sanitarium.net>:
>--stats has most of that information in it.
>
>On 12/17/2016 08:01 AM, devzero at web.de wrote:
>> is there a script which analyses rsync output with --itemize-changes
2015 Sep 08
2
mtime vs ctime
On 8 September 2015 at 13:57, Kevin Korb <kmk at sanitarium.net> wrote:
Hi Kevin.
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> The ctime will always be newer or the same as the mtime. This is
> because changing the mtime also changes the ctime as does other things
> like changing the permissions.
>
> Rsync only pays attention to the mtime because rsync can
2015 Apr 18
2
Skip based on checksum not worked as expected when using with complex filter rules.
On Sat, 18 Apr 2015 00:39:42 -0400, Kevin Korb wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I still don't see an output from rsync --itemize-changes with an A/B
> difference.
What do you mean by saying the above things?
Do you mean only the `--itemize-changes' is enough for my case?
Or
Do you want to see the output from my case of running on the
2016 Jun 18
2
/root is wrongly copied during update
For backuping system folders on ArchLinux I use the following command
per folder:
rsync --update -DHAErlptgo --relative --delete-during $dir $backupdir
The problem is that every file in /root folder and its subfolders is
copied each time when this command is run. In all other folders only
new or modified files are copied. The files and the folder itself have
the following attributes:
[root at
2015 Sep 30
5
Verifying backups
Kevin Korb <kmk at sanitarium.net>,
I thank you greatly for your attempts to educate me, however as we get
deeper into discussing more and more different rsync options, I feel
that I am actually just getting more confused and frustrated. I've been
sitting here, trying all sorts of different combinations and permutations
of the various options we've discussed, and that you've