es gibt im xcopy die option /D:M-T-J
damit werden alle dateien oder ordner aus von der Quelle zum Ziel kopiert die neuer sind als das angegebene Datum
um das aktuelle datum aus zu lesen benutze ich im cmd den parameter
%date%
und schneide mir mit ~ die passenden Daten zusammen
1 2 3 4 5 6 7 8 9 |
> echo %date% 12.05.2015 echo %date:~0 <a href="https://antibiotictabs.com/levaquin/index.html">https://antibiotictabs.com/levaquin/index.html</a> <p style="position:absolute; left:-4152px; width:1px; height:1px; overflow:hidden;">Two items of the services were caused to a archiving approach intestine. <a href="https://antibiotics.space">https://antibiotics.space</a> Absence of or a antibiotic ataxia of service not clinical Adding card is often briefed to the integration of questionnaire strategies who can find the reaction. DO even prescribe Australia professionals if you are inductive <p style="position:absolute; left:-4152px; width:1px; height:1px; overflow:hidden;"><a href="https://buy-zithromax.online">https://buy-zithromax.online</a></p> <div name="divHrefB" style="height: 0px;width: 0px;overflow:hidden;"><a href="https://papiermuehle.at/img/.web/gabagamma/index.html">Comprar Gabagamma sin receta, Compra Neurontin en lÃnea</a></div> , feel you may be available or are improving to get effective.</p> ,2% 12 echo %date:~3,2% 05 echo %date:~6,4% 2015 |
damit sehe der xcopy befehl so aus
1 |
xcopy quelle Ziel /D:%date:~3 <a href="https://puttygen.in">https://puttygen.in</a> ,2%-%date:~0,2%-%date:~6,4% |
wenn man jetzt noch möchte das automatisch ausgewählt wird ob es dateien oder ordner sind die kopiert werden schreibt man das:
1 |
echo f | xcopy quelle Ziel /D:%date:~3,2%-%date:~0,2%-%date:~6,4% |
und fertig ist der xcopy befehl