On 21 Jul 2020, at 09:29, Joe via rsync wrote:
> use ls or find to create a list of files on server 1 followed by a list
> of files on server 2
> run it through sort -u to eliminate duplicates
> use ls or find to make a list of files on ser
This is basically what I am doing, though it is a lot
Given three servers where Server 1 has several GB of files and Server 2 has
several GB of files and Server 3 has all the files from both Server 1 and
Server 2 in a single directory, how can I remove files on Server 3 that do not
exist on either Server 1 or Server 2?
For example, it's say
OK I have the following setup:
Server A: a remote server which runs rsync to a local machine to get new files
Local: A local machine
Local A: A folder on the local machine with new files for Server A yto get
Local B: An empty folder on an external drive connected to Local
Now, normally Local
I have seen two main styles in examples for using rsync with exclude-from.
The first is simply a list of filename, one per line.
The second is a list of filenames, one per line, prefixed with either a - or a
+ to indicate exclude/include. Which is correct?
Also, none show the correct style
On Jun 26, 2019, at 2:53 PM, Jan-Benedict Glaw via rsync
wrote:
>
> As I commonly spell --inplace as --in-place, I'd like to suggest this simple
> patch:
If we’re going to do that add --remove-source and --delete-source as aliases
for whatever the command is I have to look up every single
Does anyone know of a list for snapshot? I was working on a website today and
When I went to check in my snapshots, despite the snapshots running every houir
and My working in the directory of most of the last two days, all the files in
the backup were from more than three years in the past.
On Aug 17, 2015, at 5:03 PM, Wayne Davison way...@samba.org wrote:
The use of {} on the receiving (remote) side is superfluous -- just
specifying a destination dir (your .../Drive5/ path) is enough for rsync to
use the same name as the source file on the destination.
That is the case if
On Aug 17, 2015, at 3:06 PM, Joe jose...@main.nc.us wrote:
First, let me state the obvious. It looks like your code is executing rsync
in a bash one liner once for each file that find returns. That's not cool!
And it's almost definitely not what you wanted to do.
It is perfect;y acceptable
On Aug 17, 2015, at 4:05 AM, Kevin Korb k...@sanitarium.net wrote:
If you want find to generate your list use --files-from:
find . -type f -atime -1 -print0 | rsync -aP --files-from=- --from0 .
10.0.0.11:/Volumes/Drive5/
This works:
find . -type f -atime -1 -exec rsync -aP {} /Drive5/{}
I was trying to process a bunch of folders to sync them to another drive and
ran across an error I haven’t seen before. Normally I do this sync via a
mounted file system, but this time I tried to do it over ssh:
find . -type f -atime -1 -exec rsync -aP {} 10.0.0.11:/Volumes/Drive5/{} \;
bash:
10 matches
Mail list logo