copy /w suggestion

#1
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

Jul 6, 2008
324
4
#2
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". :banghead: