On Wed, Jul 21, 2004 at 12:41:12AM -0700, Vahid Pazirandeh wrote: > I also noticed this option in "help mirror" menu: > > --delete-first delete old files before transferring new ones > > Why have this option if the default behavior is to delete and then upload? > Unless the behavior is supposed to be default to overwrite.. and in the case of > fxp it is just misbehaving.
By default, mirror transfers _all_ new files before deleting _all_ old files. This option changes this. Replacing a file with new version is another matter, and mirror tries to delete the file before overwriting it for good reason - e.g. if it were a symbolic link, then overwriting it won't create proper file as on source site. -- Alexander.
