--files-from and --delete mutually exclusive?

2006-01-30 Thread Kilian Krause
Hi rsync developers, I'm trying to get some fancy mirroring done with selecting files from a larger archive through the --files-from option. The only problem that I do see is that rsync will not eat the --delete option whatever I try. Thus, all the old files remain in the mirror archive instead

Re: --files-from and --delete mutually exclusive?

2006-01-30 Thread Wayne Davison
On Mon, Jan 30, 2006 at 07:42:20PM +0100, Kilian Krause wrote: To be more clearly, I want the rsync --files-from option to behave like take these files out of $TARGET and *ONLY* these files, i.e. deleting *EVERYTHING* there is except the files given in the index file added to --files-from.

Re: --files-from and --delete mutually exclusive?

2006-01-30 Thread Matt McCutchen
On Mon, 2006-01-30 at 11:33 -0800, Wayne Davison wrote: + /foo/ + /foo/bar/ + /foo/bar/baz + /foo/extra + /bar/ + /bar/another - /foo/* - /foo/bar/* - /bar/* - /* Am I missing something? Once you've matched each file and directory you want explicitly, can't you just exclude everything

Re: --files-from and --delete mutually exclusive?

2006-01-30 Thread Wayne Davison
On Mon, Jan 30, 2006 at 04:28:19PM -0500, Matt McCutchen wrote: Once you've matched each file and directory you want explicitly, can't you just exclude everything else You can't if one of the items specified is a directory whose contents you want to send. Otherwise you can. (Aside - ** is