Re: Possible not expected behaviour with "delete" option

2019-04-04 Thread Kevin Korb via rsync
It doesn't seem like the trailing / on the target should matter. It only means something special on the source. However, if there is any error then rsync will abort the deletions for safety. On 4/3/19 2:10 PM, lugarci1 via rsync wrote: > Hi, I was trying to make a mirror backup of a folder in my

Possible not expected behaviour with "delete" option

2019-04-03 Thread lugarci1 via rsync
Hi, I was trying to make a mirror backup of a folder in my machine with the following command: rsync -avh --delete /source/ /destination But the extra files that where on "destination" didn't got deleted. Where as doing: rsync -avh --delete /source/ /destination/ worked as expected. I wonder if t

Re: rsync with delete option creates and deletes dot files

2017-05-01 Thread Kevin Korb via rsync
--delete means delete from the target what isn't on the source (except what is excluded). Those look like temp files. Possibly from another rsync that is running at the same time. On 05/01/2017 12:36 AM, Chandana De Silva via rsync wrote: > All, > I have an rsync based backup process which uses

rsync with delete option creates and deletes dot files

2017-04-30 Thread Chandana De Silva via rsync
All, I have an rsync based backup process which uses rsyncd on the source, to backup to a directory on the client. I have rsync version 3.1.2 on the client and 2.6.8 on the source host (daemon). The rysnc command I use is; /usr/bin/rsync -aHzS --partial --numeric-ids --delete --timeout=3600 \

Re: --delete option

2011-08-24 Thread Kevin Korb
eskip files that are newer on the receiver > > doesn't prevent deleting for files not existing on source side? > > >> On 08/24/11 15:38, Saman Ghannadzadeh wrote: >>> Hi all, >>> >>> I was wondering if it's possible to make the --del

Re: --delete option

2011-08-24 Thread Eberhard Moenkeberg
Hi all, I was wondering if it's possible to make the --delete option to not delete files that have been newly created on the destination site but which do not yet exist on the source side. However it should still delete files that did exist on the source side but were subsequently deleted.

Re: --delete option

2011-08-24 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Unfortunately rsync has no concept of "newly created". On 08/24/11 15:38, Saman Ghannadzadeh wrote: > Hi all, > > I was wondering if it's possible to make the --delete option to not > delete files that have been newly crea

--delete option

2011-08-24 Thread Saman Ghannadzadeh
Hi all, I was wondering if it's possible to make the --delete option to not delete files that have been newly created on the destination site but which do not yet exist on the source side. However it should still delete files that did exist on the source side but were subsequently deleted.

The --max-delete option and also question about depth first deletions

2011-06-06 Thread Ted Gilchrist
Hello, I'm trying to build a bullet-proof rsync deployment, using rsync version 3.0.8 protocol version 30, and I'll be using the --delete option. As a way of limiting any catastrophic losses I'm thinking about using --max-delete. I have a couple of questions: - If the ma

Re: Being VERY careful while using the --delete option

2011-05-13 Thread Wayne Davison
On Tue, May 10, 2011 at 7:51 AM, Ted Gilchrist wrote: > However, I wake up in a cold sweat worrying about supplying the empty string > for source_dir, and thus removing souce_dir, and all it's siblings on > target_machine. Your best bet is to error-check your args in your script prior to callin

Re: Being VERY careful while using the --delete option

2011-05-12 Thread Henri Shustak
ir > > In other words, I am replicating source_dir on a remote machine. It ends up > next to a lot of sibling, directories, like this: > > On target_machine > > /parent_path/source_dir > /parent_path/source_dir2 > > /parrent_path/source_dirn > > Here&

Being VERY careful while using the --delete option

2011-05-10 Thread Ted Gilchrist
replicating source_dir on a remote machine. It ends up next to a lot of sibling, directories, like this: On target_machine /parent_path/source_dir /parent_path/source_dir2 /parrent_path/source_dirn Here's my issue. I'd like to use the --delete option in the command above. However, I wake up

Re: files-from and delete option?

2010-02-08 Thread Matt McCutchen
On Mon, 2010-02-08 at 20:19 +0200, Emil Genchev wrote: > is there a way to have a absolute file paths in a file - and use > --files-from together with --delete option? > what i mean is - lets say i have a daily generated file a.txt from an > external script which contains somethi

files-from and delete option?

2010-02-08 Thread Emil Genchev
Hi Guys, is there a way to have a absolute file paths in a file - and use --files-from together with --delete option? what i mean is - lets say i have a daily generated file a.txt from an external script which contains something like this: /level1/level2/level/.../.../leveln/file.txt can i ask

-acv option, what will be the default "delete option"?

2009-06-16 Thread Daniel.Li
Dear List, If I use -acv for rsync options, what will I choose as default "delete option"? --deletedelete extraneous files from destination dirs --delete-before receiver deletes before transfer, not during --delete-during receiver deletes during transfe

Re: files deleted without --delete option

2007-05-18 Thread Paul Slootman
On Fri 18 May 2007, Charles Haven wrote: > Thank you! That's what I thought. > > Where did you pull that text? I have gone through the man page and several It's in the manpage... Paul Slootman -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting,

Re: files deleted without --delete option

2007-05-18 Thread Paul Slootman
On Fri 18 May 2007, Charles Haven wrote: > > I want to copy all files on the SRC side to the DST side without deleteing > any from the DST side. However, whenever I run rsync the files on the DST > side are deleted if they were deleted from the SRC side. What am I doing > wrong? > > I am running

files deleted without --delete option

2007-05-18 Thread Charles Haven
Hello all, I want to copy all files on the SRC side to the DST side without deleteing any from the DST side. However, whenever I run rsync the files on the DST side are deleted if they were deleted from the SRC side. What am I doing wrong? I am running the following command: ===

Re: problem with the delete option

2007-02-10 Thread Manuel Kissoyan
- Thanx! - Original Message - From: "Manuel Kissoyan" <[EMAIL PROTECTED]> To: "Wayne Davison" <[EMAIL PROTECTED]> Cc: "rsync list" Sent: Wednesday, January 31, 2007 6:32 PM Subject: Re: problem with the delete option Just wondering

Re: problem with the delete option

2007-01-31 Thread Manuel Kissoyan
Just wondering if this bug will be corrected. Thank you! - Original Message - From: "Manuel Kissoyan" <[EMAIL PROTECTED]> To: "Wayne Davison" <[EMAIL PROTECTED]> Cc: "rsync list" Sent: Saturday, January 27, 2007 2:32 PM Subject: Re:

Re: problem with the delete option

2007-01-29 Thread Manuel Kissoyan
2007 2:32 PM Subject: Re: problem with the delete option ok, this going more complicated In the sending side do not exists a directory called "piusfont", in the receving side yes... there are no entries with this directory name, no "delete_in_dir(DIRECTORY)" or "mak

Re: problem with the delete option

2007-01-27 Thread Manuel Kissoyan
uot;Manuel Kissoyan" <[EMAIL PROTECTED]> Cc: "rsync list" Sent: Friday, January 26, 2007 12:36 PM Subject: Re: problem with the delete option On Mon, Jan 22, 2007 at 08:18:52PM -0300, Manuel Kissoyan wrote: ok, i did add the -vv and it simply not running any delete command

Re: problem with the delete option

2007-01-26 Thread Wayne Davison
On Mon, Jan 22, 2007 at 08:18:52PM -0300, Manuel Kissoyan wrote: > ok, i did add the -vv and it simply not running any delete command, the > only thing close to that is lines like this: You need a third -v to see mentions of where rsync is deleting. It will say "delete_in_dir(DIRECTORY)" for eve

Re: problem with the delete option

2007-01-24 Thread Manuel Kissoyan
uary 22, 2007 8:18 PM Subject: Re: problem with the delete option Thanx Matt, ok, i did add the -vv and it simply not running any delete command, the only thing close to that is lines like this: removing duplicate name usr/local/cpanel/3rdparty/mailman/Mailman/Bouncer.py from file list (9386

Re: problem with the delete option

2007-01-22 Thread Manuel Kissoyan
there in the sending side. any idea? - Original Message - From: "Matt McCutchen" <[EMAIL PROTECTED]> To: "Manuel Kissoyan" <[EMAIL PROTECTED]> Cc: "rsync list" Sent: Saturday, January 20, 2007 9:33 PM Subject: Re: problem with the delete opt

Re: problem with the delete option

2007-01-20 Thread Manuel Kissoyan
uel Kissoyan" <[EMAIL PROTECTED]> Cc: "rsync list" Sent: Saturday, January 20, 2007 9:33 PM Subject: Re: problem with the delete option On 1/20/07, Manuel Kissoyan <[EMAIL PROTECTED]> wrote: im trying to backup a cpanel server and made a list in the file with the direct

Re: problem with the delete option

2007-01-20 Thread Matt McCutchen
On 1/20/07, Manuel Kissoyan <[EMAIL PROTECTED]> wrote: im trying to backup a cpanel server and made a list in the file with the directories and files to be backed up and also another file with the excluded dir/file list. For some reason when an account is deleted from the server then when rsync i

problem with the delete option

2007-01-20 Thread Manuel Kissoyan
hi guys, im trying to backup a cpanel server and made a list in the file with the directories and files to be backed up and also another file with the excluded dir/file list. For some reason when an account is deleted from the server then when rsync is backing it up is not removing this accoun

Re: delete option?

2007-01-13 Thread Matt McCutchen
On 1/13/07, Tino Schöllhorn <[EMAIL PROTECTED]> wrote: It would really help if the documentation would be updated and point out that --delete works only with the -r option. As I can see there are a lot of people out there who have problems with that option. Version 2.6.7 and later of the man pa

Re: delete option?

2007-01-13 Thread Tino Schöllhorn
Hi, thanks. Now it works. Of course you are right: Synching worked without -r als long as I specified the files explicitly. It would really help if the documentation would be updated and point out that --delete works only with the -r option. As I can see there are a lot of people out there w

Re: delete option?

2007-01-13 Thread Matt McCutchen
On 1/13/07, Tino Schöllhorn <[EMAIL PROTECTED]> wrote: rsync -v --delete --times /var/subversion/ myhost.de:backup/subversion/ The backup works fine - but file which are deleted from the source *aren't* deleted from the destination as I expected. You need the -r option (--recursive) to make rs

delete option?

2007-01-13 Thread Tino Schöllhorn
Hi, I have a problem with the --delete option. In our backup-process we run: rsync -v --delete --times /var/subversion/ myhost.de:backup/subversion/ The backup works fine - but file which are deleted from the source *aren't* deleted from the destination as I expected. I tried a l

Re: delete option

2006-11-26 Thread Matt McCutchen
Manuel Kissoyan wrote: > rsync -vrplogDtzH --stats --delete-during --partial --timeout=500 > --exclude-from=/root/rsyncexcludedfiles > --files-from=/root/rsyncincludedfiles.. > > and the includedfiles list have some wildecards but the files that has not > been deleted wasnt in the wildcar

Re: delete option

2006-11-26 Thread Manuel Kissoyan
Sorry...i forgot the detailshere is the info... im running: rsync -vrplogDtzH --stats --delete-during --partial --timeout=500 --exclude-from=/root/rsyncexcludedfiles --files-from=/root/rsyncincludedfiles.. and the includedfiles list have some wildecards but the files that has not

Re: delete option

2006-11-26 Thread Alexandros Papadopoulos
On Saturday 25 November 2006 19:14, Manuel Kissoyan wrote: > Hi Wayne, rsync@lists.samba.org != wayned (At least I hope so, for wayned's sanity. > im using version 2.6.8 protocol version 29 and looks like > the --delete-during parameter is not working correctly, if in the sender > side server

Re: delete option

2006-11-26 Thread Wayne Davison
On Sat, Nov 25, 2006 at 02:14:39PM -0300, Manuel Kissoyan wrote: > if in the sender side server i delete a directory with files and > directories into it after run rsync is not removing that > directory/files on the receiver side. I can only guess here since you don't supply any details of your ru

delete option

2006-11-25 Thread Manuel Kissoyan
Hi Wayne, im using version 2.6.8 protocol version 29 and looks like the --delete-during parameter is not working correctly, if in the sender side server i delete a directory with files and directories into it after run rsync is not removing that directory/files on the receiver side. Any id

Re: Questions and comments regarding --remove-sent-files (Was: New delete option?)

2006-09-17 Thread Wayne Davison
On Tue, Sep 12, 2006 at 02:05:10PM -0500, Evan Harris wrote: > So, I agree with the parent message that either --remove-sent-files should > delete the files immediately after they are successfully sent, or a new > option should be added (--move maybe?) that does it that way. It can never do it i

Questions and comments regarding --remove-sent-files (Was: New delete option?)

2006-09-12 Thread Evan Harris
I've looked back through my mailing list archives, and seen a few messages touching on the same things I wanted to mention, but I figured it might be better to recap, since most of them were sent more than a year ago. I have recently started using the --remove-sent-files option, and have not

Re: --delete option does not always work

2006-09-09 Thread Mario 'BitKoenig' Holbe
On Sat, Sep 09, 2006 at 12:22:57PM -0700, Wayne Davison wrote: > This is a different bug that was recently fixed: using --relative with > a root (/) filesystem and --delete was also failing to delete. The > latest CVS source and recent nightly tar files have this fixed. Here's > the bug (which h

Re: --delete option does not always work

2006-09-09 Thread Wayne Davison
On Sat, Sep 09, 2006 at 09:00:10PM +0200, Mario 'BitKoenig' Holbe wrote: > [EMAIL PROTECTED]:~# rsync -HSaxvn --delete --relative / > /mnt/rsnapshot/daily.0/darkside/root | grep -c ^deleting > 0 This is a different bug that was recently fixed: using --relative with a root (/) filesystem and --de

Re: --delete option does not always work

2006-09-09 Thread Mario 'BitKoenig' Holbe
Hi, Wayne Davison <[EMAIL PROTECTED]> wrote: > OK, I had a free moment to work up a fix, and here it is. It was > pretty simple. I'm sorry to wake this up again, but it seems not to be so simple to fix at all :) I've stumbled over this while noticing that the rsnapshot backup of my root-filesyst

Re: Help with --delete option

2005-12-17 Thread scott
> On Sat, Dec 17, 2005 at 03:55:27PM -0600, scott wrote: > > rsync --archive -e '/usr/bin/ssh -p 22' --verbose > > \ --include-from=/root/my-backupfilter --recursive > > \ --delete --existing / [EMAIL PROTECTED]:/home/backupdir > > > > which is close, but still updates files > > You need to also ad

Re: Help with --delete option

2005-12-17 Thread Wayne Davison
On Sat, Dec 17, 2005 at 03:55:27PM -0600, scott wrote: > rsync --archive -e '/usr/bin/ssh -p 22' --verbose > \ --include-from=/root/my-backupfilter --recursive > \ --delete --existing / [EMAIL PROTECTED]:/home/backupdir > > which is close, but still updates files You need to also add --ignore-exi

Help with --delete option

2005-12-17 Thread scott
I use files-from and want to have rsync connect to my backup server and ONLY delete the files that are no longer on the source server. If the file which is in my files-from filter list has changed, i do not wan tit updated. Bu if the file on the source server has been deleted, I want rsync to (on

Re: --delete option does not always work

2005-04-27 Thread Wayne Davison
OK, I had a free moment to work up a fix, and here it is. It was pretty simple. ..wayne.. --- flist.c 30 Mar 2005 17:31:35 - 1.291 +++ flist.c 27 Apr 2005 19:14:17 - @@ -655,6 +655,9 @@ static struct file_struct *receive_file_ if (flags & XMIT_TOP_DIR) {

Re: --delete option does not always work

2005-04-27 Thread Wayne Davison
On Wed, Apr 27, 2005 at 12:57:51PM -0400, Lenny wrote: > rsync -a --delete --numeric-ids --relative --delete-excluded -v src/ dest/ The problem is caused by the source dir being "src/" instead of "src" when --relative is specified (this causes a problem internally because the starting directory is

--delete option does not always work

2005-04-27 Thread Lenny
o this by placing files 'a','b', and 'c' just under the 'src' directory (without the '1' subdirectory), the --delete option will work correctly. Any thoughts? Thanks, Lenny -- To unsubscribe or change options: https://lists.samba.org/mail

Re: New delete option?

2005-04-22 Thread Wayne Davison
[It appears I missed this message back in February -- ouch.] On Sat, Feb 19, 2005 at 08:53:32PM -0500, Andrew Gideon wrote: > FWIW: In the manner I can envision using this, it makes more sense to > delete the source as long as the destination file is valid, whether > that file moved during this ex

Re: New delete option?

2005-04-03 Thread Andrew Gideon
Wayne Davison wrote: > There is a patch in the "patches" dir called delete-sent-files.diff that > probably does what you want. It deletes any files that got successfully > transferred, but does not delete files that were already up-to-date, nor > does it delete things like directories, symlinks,

Re: New delete option?

2005-02-15 Thread Wayne Davison
On Tue, Feb 15, 2005 at 10:20:56AM +0100, ?yvin S?mme wrote: > 3) How will it work with the '-n' option? With -n, rsync will tell you about the files that it would transfer (as normal) and no files would be deleted. It would also skip the "sender removed X" messages that are output for -vv when t

Re: New delete option?

2005-02-15 Thread Øyvin Sømme
I have not yet tried your patch but: 1) The patch you describe sounds ideal to me 2) I hope you will include it in the next main release 3) How will it work with the '-n' option? Thanks Wayne Davison wrote: On Mon, Feb 14, 2005 at 02:03:56PM +0100, ?yvin S?mme wrote: I would like an option that del

Re: New delete option?

2005-02-14 Thread Wayne Davison
On Mon, Feb 14, 2005 at 02:03:56PM +0100, ?yvin S?mme wrote: > I would like an option that deletes the source file(s) *if* > successfully transferred (i.e. delete source upon completion). > Maybe an option like '--delete-source'. There is a patch in the "patches" dir called delete-sent-files.diff

New delete option?

2005-02-14 Thread Øyvin Sømme
Hi. I've been a proud user of rsync in 9 years! I have always found an option with rsync that offers exactly the functionality I want. But today my search was negative: I would like an option that deletes the source file(s) *if* successfully transferred (i.e. delete source upon completion). Maybe a

Re: rsync seems to hang when --delete option is used.

2004-12-15 Thread Marc G. Fournier
x27;ve tried setting truss -p again both the server side, and receiver, and nothing seems to be happening on the server, and periodic 'select()'s happen on the receiver ... On Wed, 15 Dec 2004, Wayne Davison wrote: On Thu, Dec 09, 2004 at 04:02:05PM -0500, Tony Shum wrote: When I use --d

Re: rsync seems to hang when --delete option is used.

2004-12-15 Thread Wayne Davison
On Thu, Dec 09, 2004 at 04:02:05PM -0500, Tony Shum wrote: > When I use --delete option, it seems to hang for over 8 hours on 4.5Gb > of total data. The --delete option causes rsync to read the local hierarchy, and construct a list of files to compare with the remote file list. If it is h

Re: rsync seems to hang when --delete option is used.

2004-12-09 Thread Chuck Wolber
On Thu, 9 Dec 2004, Tony Shum wrote: > When I use --delete option, it seems to hang for over 8 hours on 4.5Gb > of total data. But when I remove the --delete option, I can see it > starts rsyncing. Has anyone encounter this problem before? What type of filesystem is your data on (

rsync seems to hang when --delete option is used.

2004-12-09 Thread Tony Shum
Hi, When I use --delete option, it seems to hang for over 8 hours on 4.5Gb of total data. But when I remove the --delete option, I can see it starts rsyncing. Has anyone encounter this problem before? --Tony Shum -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo

Re: --delete option

2004-10-30 Thread johhhn
thanks, that's what I wanted to hear (: On Sat, 30 Oct 2004 12:22:16 +0200, Paul Slootman <[EMAIL PROTECTED]> wrote: > On Fri 29 Oct 2004, [EMAIL PROTECTED] wrote: > > > > > I'm a bit paranoid, but had to ask-- How safe is it to use the --delete option? >

Re: --delete option

2004-10-30 Thread Paul Slootman
On Fri 29 Oct 2004, [EMAIL PROTECTED] wrote: > I'm a bit paranoid, but had to ask-- How safe is it to use the --delete option? > > ie, when using it locally (or via a mounted network volume), will I > *ever* have to worry about my actual source files being delete > mistake

--delete option

2004-10-29 Thread johhhn
I'm a bit paranoid, but had to ask-- How safe is it to use the --delete option? ie, when using it locally (or via a mounted network volume), will I *ever* have to worry about my actual source files being delete mistakenly (instead of dest. files)? thanks! -- To unsubscribe or change op

Re: Strange behaviour with --max-delete option

2004-10-18 Thread Wayne Davison
On Mon, Oct 18, 2004 at 01:13:56PM -0700, Laurens wrote: > It deletes 2 files while --max-delete=1 was specified. > I think it has something to do with deletion_count in delete_files > (receiver.c). Yes, the ">" should really be ">=" (a simple off-by-one error). The line should look like this whe

Strange behaviour with --max-delete option

2004-10-18 Thread Laurens
Hi, When using --max-delete=NUM, NUM + 1 files get deleted. Test 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

Re: Problem on XP with --delete option

2003-12-19 Thread Tevfik Karagülle
Sorry for the mistake. Should be CYGWIN=nontsec. - Original Message - From: "Tevfik Karagülle" <[EMAIL PROTECTED]> To: "Hergaarden, Marcel" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, December 19, 2003 11:48 AM Subject: Re: Problem on X

Re: Problem on XP with --delete option

2003-12-19 Thread Tevfik Karagülle
- Original Message - From: "Hergaarden, Marcel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 19, 2003 11:39 AM Subject: Problem on XP with --delete option > Hi, > > I'm experiencing a problem on rsync with the --delete option. > >

Problem on XP with --delete option

2003-12-19 Thread Hergaarden, Marcel
Hi, I'm experiencing a problem on rsync with the --delete option. Situation: Server = Mandrake Linux 9.2 running rsync daemon Client = Windows XP workstation running cygwin + rsync2.5.1 combined with ssh. All this implemented conform the website of Robert Scholten

Re: AW: trying to figure out how the --delete option works.

2003-10-29 Thread Mandrake Pe
ittwoch, 29. Oktober 2003 13:33 > An: [EMAIL PROTECTED] > Betreff: trying to figure out how the --delete option works. > > > I use this comand to back up my entirely drive to a second drive. Because > the second drive is smaller I have excluded my movies directory. I also > excl

Re: AW: trying to figure out how the --delete option works.

2003-10-29 Thread Pedro Blom
I use -a from the man: âa, ââarchive archive mode, equivalent to ârlptgoD u se, the -r for --recursive is there I also use -v -v as for --verbose so I have that covered. I have now experiemented with some tmp-files in my homedir and it works flawlessly. rsync -av --exclude "/**/movi

Re: AW: trying to figure out how the --delete option works.

2003-10-29 Thread beers
> "This option has no effect if directory recursion is > not > selected." > (I really dont know what this means. Perhaps this is where > my > comand fails?) from the man: --recursive This tells rsync to copy directories recursively

Re: AW: trying to figure out how the --delete option works.

2003-10-29 Thread Mandrake Pe
Thank you for your answer, but i'ts not about the excluded files. Sorry if I was unclear about that. This is what the man rsync says about the delete option: "--delete This tells rsync to delete any files on the receiving side that arenÂt on the sen

AW: trying to figure out how the --delete option works.

2003-10-29 Thread Rainer Stengele
Add this: --delete-excluded See the manual. Rainer -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Mandrake Pe Gesendet: Mittwoch, 29. Oktober 2003 13:33 An: [EMAIL PROTECTED] Betreff: trying to figure out how the --delete option works. I use

trying to figure out how the --delete option works.

2003-10-29 Thread Mandrake Pe
I use this comand to back up my entirely drive to a second drive. Because the second drive is smaller I have excluded my movies directory. I also excluded the /mnt/ diectory, becous I dont want to back up the backup. This part works just fine. It's the --delete option I cant get to wo

Re: rsync server and --delete option

2003-07-04 Thread Xavier
would output something. Thanks Xavier p.s. I join my test on a seperate text file. -- Original Message --- From: Wayne Davison <[EMAIL PROTECTED]> To: Xavier <[EMAIL PROTECTED]> Sent: Thu, 3 Jul 2003 10:11:33 -0700 Subject: Re: rsync server and --delete option > On

Re: rsync server and --delete option

2003-07-03 Thread Wayne Davison
On Thu, Jul 03, 2003 at 03:23:08PM +0100, Xavier wrote: > rsync -nPru --delete /temp/* serverA::wwwroot/temp/ > > the delete option is not working That's because you used a wildcard. The --delete option only affects directories, and you send a list of files. The above is equ

rsync server and --delete option

2003-07-03 Thread Xavier
/temp/* serverA::wwwroot/temp/ the delete option is not working (the files that are not on the sending server are not deleted) and I get no error messages, even with -vvv or when I set --ignore-errors --force options... Is this supposed to work at all ? Is it may be a permission problem ? Thanks

Re: excluding patterns from the --delete option?

2003-03-02 Thread jw schultz
On Sun, Mar 02, 2003 at 11:30:16PM -0800, Mason Lee wrote: > Please could someone tell me if it is possible to specify in a single > rsync command that the --delete option should apply to all files except > those matching a certain pattern? I want to do a -a archive, except >

excluding patterns from the --delete option?

2003-03-02 Thread Mason Lee
Please could someone tell me if it is possible to specify in a single rsync command that the --delete option should apply to all files except those matching a certain pattern? I want to do a -a archive, except that a few directories should not have --delete applied. Do I need to use two

Re: Help on rsync delete option

2002-11-01 Thread jw schultz
On Fri, Nov 01, 2002 at 11:36:56AM -0500, Chaturvedi.Rajesh wrote: > Hello, > > Any help on the following issue will be appreciated. > > How do I delete files or directories in my first level of directory that is > specified as host. Here is an example : > > rsync -avz --delete ${SOURCE_HOST

Re: Help on rsync delete option

2002-11-01 Thread Daniel Ramaley
I had a similar problem once. Try this instead: rsync -avz --delete ${SOURCE_HOST}:/mlinkfam/extract/sccs/pa/. /mlinkfam/extract/sccs/pa The only change was "*" to ".". On Fri, 01 Nov 2002 11:36:56 -0500 "Chaturvedi.Rajesh" <[EMAIL PROTECTED]> wrote: > Hello, > > Any help on the following

Help on rsync delete option

2002-11-01 Thread Chaturvedi.Rajesh
Hello, Any help on the following issue will be appreciated. How do I delete files or directories in my first level of directory that is specified as host. Here is an example : rsync -avz --delete ${SOURCE_HOST}:/mlinkfam/extract/sccs/pa/* /mlinkfam/extract/sccs/pa Giving above command I fi

doc bug: --delete option differs between host:/ and host://

2002-05-14 Thread Christian Hammers
Package: rsync Version: all Severity: wishlist Tags: +upstream +patch thanks Hello I want to notice you of a very annoying behavour regarding the --delete option. Although people are aware of the difference between writing host:/directory and host:/directory/ It is not

Queston on using the delete option

2002-03-12 Thread Andy Lam
thought about not using the "--delete"option and instead, gather a list of files to be deleted from our internal publishing/staging system and remove them separately. Once again, thank you much for you comments and suggestions. "Rsync" is the best replicating application I ha

Re: Question on using rsync delete option

2002-03-11 Thread tim . conway
nt pack(, 19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), ".\n" ' "There are some who call me Tim?" Andy Lam <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 03/11/2002 10:43 AM To: [EMAIL PROTECTED] cc: (bcc: Tim Conway/LMT/SC/PHILIPS) Su

Question on using rsync delete option

2002-03-11 Thread Andy Lam
elete option in rsync, all the temporary files at the destination B will be deleted. In contrast, if I don't use the --delete option, the destination's temporary files will be intact, but any files removed from the source, A will not be deleted at the destionation B. It seems to me that the

Question on the using of --delete option with rsync

2002-03-11 Thread Andy Lam
above requirement, I took out the --delete option, but the problem was, if a file was to be removed from the contents on A, it doesn't remove from B as well. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

Using --delete option with rsync

2001-02-21 Thread Flowers, John
/ user@manchine2:/Dir2 This is my first attempt at using the delete option, Can anyone give me some examples of how to properly use the --delete option with the rsync command.