Declinedcopy /w suggestion

Charles G

If I run
Code:
``copy /a: /e /f /g /md /nr /s /u /v /w "ftp://www.somesite.com/*" c:\Testing\somesite\``

then decide I want to exclude some files by adding

Code:
``/[! exclude.some.file ]``

where exclude.some.file would already exist somewhere under c:\Testing\somesite\ it would be nice if there was a way for the copy to delete the exclude.some.file if it exists at the desination folder tree. Maybe adding a modifier to the /w ?

rps

You only want this option to apply to the copy command?

Just to expand on this idea, I think it could even be of more general use if this (delete from destination) option was somehow part of the ranges syntax, thus usable with more than just the copy command; for example, SYNC, COPYDIR, MOVE, & perhaps DIR, RD.

Might be to dangerous. Just thinking "out loud".

Charles G

@rps I just use the Copy /w - but you are right - would be useful for other file commands like you mentioned...