Displaying 5 results from an estimated 5 matches for "avun".
Did you mean:
arun
2020 May 06
2
How to diff two directories?
Hi,
I use this command. But it also shows the files that are the same. Is
there an option that can be specified so that only the differences are
printed? Thanks.
rsync -avun --delete src dir
--
Regards,
Peng
2014 Jun 16
2
Print files which would be transfered by rsync (when syncing two directories)
...$Y/2 with the content of $X/2
and `rsync --dry-run --info=COPY -r -c $X $Y` should print $Y/2 (or
$X/2, this isn't part of my problem), but it prints nothing. Further
non-working solutions include:
* `rsync --dry-run --info=COPY -r -c $X/ $Y/` # same as above with
trailing slashes
* `rsync -avun $SOURCE $TARGET`
[http://unix.stackexchange.com/questions/57305/rsync-compare-directories] (printing
both files or nothing (with and without trailing slashes))
* `rsync -rvnc --delete $X/ $Y/`
[http://psung.blogspot.de/2008/06/comparing-directory-trees-with-diff-or.html]
(basically the same as `a...
2007 Dec 06
2
rsync 5.1 base repo question
I have built my repo by copying the content of the ISO images,
maintaining the date.
When I test with:
rsync -avun rsync://mirrors.kernel.org/centos/5.1/os/i386/ \
--exclude=debug/ /repos/centos/5.1/os/i386
the only file listed is:
CentOS/yum-kernel-module-1.0.4-3.el5.centos.2.noarch.rpm
Which I did not get from the ISOs.
but if I leave off the -u option, the list is VERY long. Why?
Also do I need to use...
2020 May 06
1
How to diff two directories?
...s 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 ">f.s........ 2.txt" mean? Thanks.
$ rsync -avun --delete --itemize-changes /tmp/tmp.GH6z0oN8rn/a/
/tmp/tmp.GH6z0oN8rn/b
sending incremental file list
>f.s........ 2.txt
sent 73 bytes received 19 bytes 184.00 bytes/sec
total size is 4 speedup is 0.04 (DRY RUN)
==> /tmp/tmp.GH6z0oN8rn/a/1.txt <==
1
==> /tmp/tmp.GH6z0oN8rn/a/2.tx...
2004 Oct 18
1
Strange behaviour with --max-delete option
...it by doing this:
# mkdir src
# mkdir dest
# cd src
# touch 1 2 3 4 5
# cd ..
# rsync -avu src/ dest
# cd src
# rm 1 2
# cd ..
( Here i try to sync src and dest, but only delete one file from dest
at the time. This would prevent an accidental rm in src from
propagating to dest. )
# rsync --delete -avun --max-delete=1 src/ dest
Output:
root@computer:/tmp# ./rsync --delete -avun --max-delete=1 src/ dest
building file list ... done
deleting 2
deleting 1
sent 81 bytes received 20 bytes 202.00 bytes/sec
total size is 0 speedup is 0.00
It deletes 2 files while --max-delete...