[<<]Message[>>]    [<<]Author[>>]    [<<]Subject[>>]    [<<]Thread[>>]

Number : 8622 Date : 2004-09-01 Author : ctheod Subject : Re: exclusion of directories and his contain Size(KB) : 2
> > Use /ex e.g. xxcopy .... /ex:exclusion_file.txt > > If you've got 150-200 exclusions, I think I'd be looking at > some other way to define what to include and what to exclude > but you'll need to determine whether there's another way to > do what you want. Unless this is a one-off exercise, maintaining > that many exclusions would be a nightmare. However xxcopy will > certainly be able to handle this number of exclusions. > > Garry Hello, I have found another way to complete the task. I think it is more quite simple. I have 60 servers and up to 800 directories to process. I need help to validate if i'm in the right track before run my scripts. SCRIPT ONE: (who call dep_rep.cmd) ::reg01.cmd::::::::::::::::::::::::::::::::::::::::::::::::::::::: @echo off call h:\dep_rep.cmd se126b\msi call h:\dep_rep.cmd se127b\msi call h:\dep_rep.cmd se128b\msi call h:\dep_rep.cmd se130b\msi call h:\dep_rep.cmd se131c\msi call h:\dep_rep.cmd se133b\msi call h:\dep_rep.cmd se134c\msi call h:\dep_rep.cmd se135b\msi call h:\dep_rep.cmd se138b\msi call h:\dep_rep.cmd se142b\msi :: Where for example, se126b\msi is a %1 ::reg01.cmd::::::::::::::::::::::::::::::::::::::::::::::::::::::: SCRIPT TWO: (who are the "engine") ::dep_rep.cmd::::::::::::::::::::::::::::::::::::::::::::::::::::::: @echo off & setlocal set dest=\\searis\source set log1=\\searis\source\Log1.txt set log2=\\searis\source\Log2.txt set err1=\\searis\source\LogErrSrc.txt set err2=\\searis\source\LogErrStr.txt set excl=\\searis\source\exclusion.txt xxcopy \\%1\*\source\* %dest% /e/h/yy/rc/fo%log1%/oa%err1%/ex:%excl% xxcopy \\%1\*\structure\* %dest% /e/h/yy/rc/fo%log2%/oa%err2% type %log1% >> LogXferSrc.txt type %log2% >> LogXferStr.txt del /q %log1% %log2% ::dep_rep.cmd::::::::::::::::::::::::::::::::::::::::::::::::::::::: EXCLUSION FILE (EXCLUSION.TXT) \\%1\Outils\IbmDi412\Source \\%1\Drivers\ActiveX\Source \\%1\Apps\Adaware\Source and many, many other paths of exclusions... I need to know if my logic are good to run all the two script and the exclusion file without problem. Is %1 will be parsed into exclusion.txt file by xxcopy? If no, how can i do that? Thanks a lot, for comments, suggestions! Charles,
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.