--delete ignored?

jw schultz jw at pegasys.ws
Wed Feb 12 07:13:20 EST 2003

On Tue, Feb 11, 2003 at 06:53:20PM -0000, va_public <yahoogroups at vikas.mailshell.com> wrote:
> --- In rsync at yahoogroups.com, jw schultz <jw at p...> wrote:
> > On Mon, Feb 10, 2003 at 10:24:35PM -0000, va_public 
> <yahoogroups at v...> wrote:
> > > 
> > > If the file is getting deleted, shouldnt the --verbose option 
> print a 
> > > message to this effect?
> > 
> > Because it isn't deleting the files.
> Um..It _is_ deleting the file from my target tree.

It is just unlinking it.  The same file still exists.

> Yes, it is backing it up, so it isnt really gone, but whats the harm 
> in printing a message saying it is deleting it from the target tree, 
> because it is doing that.
> All I am trying to do is find out what files are going to be deleted 
> from my target tree using --dry-run --verbose before actually running 
> the command. 
> It is misleading to not print the message in --verbose but boom, the 
> file is gone from my target tree when I take out the --dry-run.

Use -vv and you should see a "deleting in" message followed by
more detail.

	J.W. Schultz            Pegasystems Technologies
	email address:		jw at pegasys.ws

		Remember Cernan and Schmitt

More information about the rsync mailing list