Displaying 20 results from an estimated 10000 matches similar to: "which rsync command?"
2017 Feb 23
2
which rsync command?
I'm probably missing something, but it looks like your first requirement
rules out using --delete,
but your third requirement seems to imply the need for it because you
want the source and target to be identical - and it won't be if there
are any files on the target which are not on the source.
If this is the case, then you may have to use more than pass - the first
at the top-level
2017 Feb 22
0
which rsync command?
You should be fine as long as you don't add --delete.
I would start with rsync -vai --dry-run SOURCE/ TARGET/
Add whatever the OSX specific option is (I think -E)
Yes, --dry-run shows you what it would have done without --dry-run and
yes, if you can't read all the files then you need to run it as root.
On 02/22/2017 08:57 AM, David Epstein wrote:
> All the files and directories I
2017 Feb 23
2
which rsync command?
I hate to say it because it goes against my normal advice but this is
one instance where using a * in the source parameter would help...
rsync -vaiE --delete --dry-run source/* target/
This would ignore any top level directory that is on the target but not
the source while rsyncing with --delete any top level directory that is
on the source.
It is normally recommended to not use a * in the
2017 Feb 23
0
which rsync command?
Thanks for the helpful advice.
In view of the conflicting advice from Joe and Kevin I tried creating a couple of very small directories test1 and test2, to see what happens when the rsync command
rsync -avi —dry-run test1/ test2/
is given. I was pleased to see that —dry-run does explicitly say when a file is being deleted.
Joe’s email is correct and it seems that Kevin’s version would not satisfy
2017 Feb 23
3
which rsync command?
This is looking good and very helpful to an rsync novice. I will try the modification
rsync --dry-run -avi --delete --filter 'protect /*’ --filter ‘protect /.*’ SOURCE/ TARGET/
and see what it produces. I do have a number of directories and files beginning with a dot in TARGET and these need to be protected.
Unfortunately, the output from —dry-run is still likely to be sufficiently
2018 May 03
2
Getting --delete to work, simply
rsync version 3.1.2 protocol version 31
I've run into an issue using rsync on my QNAP NAS. I've installed Entware-ng
on the NAS so that I can install better versions of programs, rsync being
one of them.
But, I've run into an issue wqith using the --delete option, as it has
problems using wildcards.
Initially a backup script looked like:
#!/bin/sh
for d in
2018 May 03
2
Getting --delete to work, simply
On Thu, May 03, 2018 at 01:09:30AM -0400, Kevin Korb via rsync wrote:
> --delete only works when you sync a dir not individual files. So...
> rsync -vai --delete --include='g*' --include='G*' --exclude='*'
> /share/Public/videos/ /share/Backup-HDD-03
That kinda didn't work:
rsync -vai --delete --include='S[A-Z]*' --include='S[a-h]*'
2014 Dec 04
3
Aw: Re: rsync doesn't checksum for local transfers?
> You are missing the point of the checksum. It is a verification that
> the file was assembled on the target system correctly. The only
> post-transfer checksum that would make any sense locally would be to
> make sure that the disk stored the file correctly which would require
> a flushing of the cache and a re-reading of the file. Rsync has no
> capability to do this
2012 Apr 11
3
Settings file times only
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I restored a filesystem by using rsync to copy directories and files
from a backup volume to the newly recreated volume. All of the
re-created files were given the current date and time rather than the
original file's timestamp. I am sure there was a way to prevent that
from happening.
Is there a way to use rsync to set the timestamps
2008 May 07
2
bug on compilation (PR#11395)
Dear Mr.
Beginning to work on Linux.
I am trying to install R into Ubuntu Gustsy. I installed version 2.5.1 and worked fine. But then I tried to upgrade by adding these lines to sources.list:
deb http://cran.fiocruz.br/bin/linux/debian etch-cran/
deb http://cran.fiocruz.br/bin/linux/ubuntu gutsy/
I introduced the authorization keys (as recommended) and the files were downloaded. But then I
2016 Oct 13
6
[Bug 12378] New: why i cannot exclude dir/files if using option "--files-from"
https://bugzilla.samba.org/show_bug.cgi?id=12378
Bug ID: 12378
Summary: why i cannot exclude dir/files if using option
"--files-from"
Product: rsync
Version: 3.1.2
Hardware: x64
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: core
2015 Apr 26
2
The easiest way to restore timestamps of files?
Please, is possible (with rsync) re-create files timestamps?
I mean something like choosing a "-T" in the program mirror- from
it's man page e.g. there:
http://sunsite.univie.ac.at/textbooks/mirror/mirror.html#Flags
"Do not do any file transfers just force the time-stamps of any local
files to be reset to be the same as the remote files. Normally only
used when initialising a
2008 Jul 20
4
drawing segments through points with pch=1
Please excuse me for asking such basic questions:
Here is my code
> y=c(1.21,0.51,0.14,1.62,-0.8,0.72,-1.71,0.84,0.02,-0.12)
> ybar=mean(y)
> ll=length(y);
> ybarv=rep(ybar,ll)
> x=1:ll
> plot(x,ybarv,pch=1)
> segments(x[1],ybar,x[ll],ybar)
What I get is a collection of small circles, with a segment "on top"
of the circles, which is almost what I want. But I
2013 Sep 02
1
Sweave: printing an underscore in the output from an R command
I am working with Sweave and would like to print out into my latex document the result of the R command
version$platform
So what I first tried in my .Rnw document was \Sexpr{print(version$platform)}.
However, the output from this command is the string "x86_64-apple-darwin10.8.0" (without the quotes). This contains an underscore, which is a special character in tex and so I get an error
2008 Sep 10
4
re flecting a line
Suppose x and y are numeric vectors of the same length.
plot(x,y) #scatterplot
lmObj1 <- lm(y~x) # best fit line
abline(lmObj1) # good
lmObj2 <- lm(x~y) #get best fit but with axes interchanged
abline(lmObj2) # not what I want. I want the correct line, drawn on the same
graph, but with
# response and predictor variables interchanged
One way to proceed would be to
2010 Jan 06
16
8-15 TB storage: any recommendations?
Hello everyone,
This is not directly related to CentOS but still: we are trying to set up
some storage servers to run under Linux - most likely CentOS. The storage
volume would be in the range specified: 8-15 TB. Any recommendations as far
as hardware?
Thanks.
Boris.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2015 Mar 27
7
headless VirtualBox on Centos
Hello listmates,
I am wondering if there is a set of scripts/utilities for automatically
starting and running headless (no X11) VM's using VirtualBox omn a CentOS 6
server. VNC/RDP access to the VM's would be fine.
Any help much appreciated.
Cheers,
Boris.
2010 Dec 01
7
1 Gbit/s Ethernet NIC under CentOS
Hello listmates,
As some of you may know we have been having a really bad problem with
Realtek Semiconductor Co., Ltd. RTL-8169 cards. See here for details:
http://forum.nginx.org/read.php?24,140124,140224
So now my question is, what PCI 1 Gbit/s Ethernet adapters should I
use under CentOS? If you have had a consistent positive experience
with any particular chipset/brand please speak up.
2013 Jan 19
7
load balancer recommendations
Hello all,
The question is not necessarily CentOS-specific - but there are lots of
bright people on here, and - quite possibly - the final implementation will
be on CentOS hence I figured I'd ask it here. Here is the situation.
I need to configure a Linux-based network load balancer (NLB) solution. The
idea is this. Let us say I have a public facing load balancer machine with
an public IP
2004 Jun 28
2
Unable to start R due to error with tempdir()
Hello,
I run R 1.9.1 on a Windows XP machine. In the last week, I have started to
get the following error message (about 85% of the time) when I attempt to
start R:
"Fatal error: cannot find unused tempdir name"
I get this message whether I attempt to start R in interactive or batch
mode.
Looking at the help-manual description of tempdir didn't provide me with
any obvious clues