Discussion:
Robocopy - Nur geändertes Protokollieren
(zu alt für eine Antwort)
Nicolas Bronke
2008-05-01 09:39:43 UTC
Permalink
Mit robocopy kann man ja prima Verzeichnisse synchronisieren.
Allerdings komme ich mit den Parametern nicht ganz klar. Ich möchte gerne,
das nur das geänderte / gelöschte in eine Datei Protokolliert wird. Geht
das?
Danke für Tips
Grüsse
Nicolas
Greg
2008-05-02 10:01:19 UTC
Permalink
Hi Nicolas

:: /LOG :: Output log file

ein nettes scripts gibts hier :
http://winhlp.com/node/58

und parameter:
http://www.ss64.com/nt/robocopy.html

mfg
Greg
Nicolas Bronke
2008-05-02 16:21:01 UTC
Permalink
Post by Greg
:: /LOG :: Output log file
Danke bei log bin ich schon gelandet. /NP probiere ich gerade aus.
Was ich aber noch nicht gefunden habe, dass nur das geänderte protokolliert
wird und nicht auch noch alle Verzeichnsse und Dateien, die unverändert
sind.
Post by Greg
http://winhlp.com/node/58
http://www.ss64.com/nt/robocopy.html
Die Links schaue ich mir mal an.
Grüsse
Nicolas
Denis Jedig
2008-05-03 08:36:03 UTC
Permalink
Post by Nicolas Bronke
Post by Greg
:: /LOG :: Output log file
Danke bei log bin ich schon gelandet. /NP probiere ich gerade aus.
Was ich aber noch nicht gefunden habe, dass nur das geänderte protokolliert
wird und nicht auch noch alle Verzeichnsse und Dateien, die unverändert
sind.
Wenn du /V nicht angibst, werden die übersprungenen Dateien nicht mit in
die Ausgabe genommen. Ansonsten kannst du aber auch immer noch die Ausgabe
hinterher filtern, z.B. so:

robocopy /E /L dir1 dir2 | find /I "New"
--
Denis Jedig
syneticon networks GbR http://syneticon.net/service/
Loading...