Re: A question about rsync filters, not sure if I understand the man page

2024-07-17 Thread Chris Green via rsync
On Tue, Jul 16, 2024 at 05:56:28PM +0200, francis.montag...@inria.fr wrote: > Hi. > > On Tue, 16 Jul 2024 16:00:47 +0100 Chris Green via rsync wrote: > > > I run a daily backup using 'rsync -a -F ' > > > I want to exclude everything in ~/.local/share **except** the file:- > > >/home/chr

Re: A question about rsync filters, not sure if I understand the man page

2024-07-16 Thread Francis.Montagnac--- via rsync
On Tue, 16 Jul 2024 11:12:54 -0700 Ian Z via rsync wrote: > On Tue, Jul 16, 2024 at 05:56:28PM GMT, Francis.Montagnac--- via rsync wrote: >> No. Assuming you are doing this backup from your homedir, you should >> add to your .rsync-filter file: >> + /.local/ >> + /.local/share/ >> + /.loca

Re: A question about rsync filters, not sure if I understand the man page

2024-07-16 Thread Ian Z via rsync
On Tue, Jul 16, 2024 at 05:56:28PM GMT, Francis.Montagnac--- via rsync wrote: > > I want to exclude everything in ~/.local/share **except** the file:- > >/home/chris/.local/share/evolution/calendar/system/calendar.ics > > I have the following in my rsync-filter file to exclude ~/.local/share

Re: A question about rsync filters, not sure if I understand the man page

2024-07-16 Thread Francis.Montagnac--- via rsync
Hi. On Tue, 16 Jul 2024 16:00:47 +0100 Chris Green via rsync wrote: > I run a daily backup using 'rsync -a -F ' > I want to exclude everything in ~/.local/share **except** the file:- >/home/chris/.local/share/evolution/calendar/system/calendar.ics > I have the following in my rsync-fil

A question about rsync filters, not sure if I understand the man page

2024-07-16 Thread Chris Green via rsync
I run a daily backup using 'rsync -a -F ' I want to exclude everything in ~/.local/share **except** the file:- /home/chris/.local/share/evolution/calendar/system/calendar.ics I have the following in my rsync-filter file to exclude ~/.local/share - .local/share Can I simply add the fol

Re: A question about rsync

2004-06-06 Thread Wayne Davison
On Mon, Jun 07, 2004 at 03:47:47AM +, Guo jing wrote: > As you said, if the source file reduced and the blocks were occupied by > other files there will be a file with other file's content and a abnormal > end on the other end. No, the OS doesn't work that way. Rsync will instead copy lots

Re: A question about rsync

2004-06-06 Thread Martin Pool
On 7 Jun 2004, Guo jing <[EMAIL PROTECTED]> wrote: > Thanks for your answer! > Yes,my question is that if we can get a good result when the file is > changing while it is being copied by rsync > > In my test, if the file is being augmented while it been copied using > rsync.I can get a normal

Re: A question about rsync

2004-06-06 Thread Guo jing
Thanks for your answer! Yes,my question is that if we can get a good result when the file is changing while it is being copied by rsync In my test, if the file is being augmented while it been copied using rsync.I can get a normal copy on the other end and the result file is the same as what

Re: A question about rsync

2004-06-01 Thread Martin Pool
On 31 May 2004, Guo jing <[EMAIL PROTECTED]> wrote: > hello, > I am a student in China.I like the linux and usually use the rsync to > backup my documents. Last week when I use it,I find a question I want to > discuss with you. > > The condition is like this: The source file that I want to rs

A question about rsync

2004-05-31 Thread Guo jing
hello, I am a student in China.I like the linux and usually use the rsync to backup my documents. Last week when I use it,I find a question I want to discuss with you. The condition is like this: The source file that I want to rsync to another computer is 129M before I start the rsync. Durin

A question about rsync

2004-05-18 Thread Yang Du
> Once synchronize a file. Does rscync first create a temporary in the > remote machine first and then rename it? Or it direct write the difference > into the dest-file? > > Could you please tell me what will happen to the dest-file when a rsync > process interrupted by some problems(network prob

Re: A question about rsync

2004-05-18 Thread Tim Conway
That is it. The destination file is unaffected until rsync completes its replacement, then the directory entry is repointed at the new file and the reference to the old inode freed. Tim Conway Unix System Administration Contractor - IBM Global Services desk:3032734776 [EMAIL PROTECTED] Hi:

A question about rsync

2004-05-17 Thread Yang Du
Hi: I really want to know how rsync works. Once it synchronize a file. Does rscync first create a temporary in the remote machine first and then rename it? Or it direct write the difference into the dest-file? Could you please tell me what will happen to the dest-file when a rsync process interru