44x Trina 330WP @ SMA 10.00; Hitachi Yutaki 5,5KW AIO 280L
Wat wil je synchroniseren? twee pc's, 2 directories, twee diskettes?
Ik moet van map naar map. Ut is namel;ijk een netwerkdrive. Netwerk onder dos draait perfect nu. Nu moet ik nog zien te synchroniseren.
44x Trina 330WP @ SMA 10.00; Hitachi Yutaki 5,5KW AIO 280L
xcopy.... en kijk eens naar de parameters, dat hij alleen bv oude bestanden copieerd als je daarna weer copieerd terug heb je dus een redelijk synchronisatie..
robocopy is ook een machtige tool.
Denk dat je daarmee wel uit de voeten kan.
Je hebt overigens wel een NT4 resource kit nodig.
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
| syntax
ROBOCOPY source_folder destination_folder [file(s)_to_copy] [options]
key
file(s)_to_copy : A list of files or a wildcard.
If no source "file(s)_to_copy" are specified robocopy
will default to copying *.*
Source options
/S : copy Subfolders
/E : copy Subfolders, including Empty Subfolders.
/SEC : copy SECurity info (both source and dest must be NTFS).##
/A : copy only files with the Archive attribute set.
/M : like /A, but remove Archive attribute from source files.
/LEV:n : only copy the top n LEVels of the source tree.##
/MAXAGE:n : MAXimum file AGE - exclude files older than n days/date.##
/MINAGE:n : MINimum file AGE - exclude files newer than n days/date.##
(If n < 1900 then n = n days, else n = YYYYMMDD date).
Copy options
/L : List only - don't copy, timestamp or delete any files.
/MOV : MOVe files (delete from source after copying).##
/MOVE : Move files and dirs (delete from source after copying).
/Z : copy files in restartable mode (survive network glitch).##
/R:n : number of Retries on failed copies - default is 1 million.
/W:n : Wait time between retries - default is 30 seconds.
/REG : Save /R:n and /W:n in the Registry as default settings.
/TBD : wait for sharenames To Be Defined (retry error 67).##
Destination options
/A+:[R][A][S][H] : set file Attributes on destination files - add.
/A-:[R][A][S][H] : set file Attributes on destination files - remove.
/FAT : create destination files using 8.3 FAT file names only.##
/SECFIX : FIX SECurity info on existing files and dirs.##
/TimFix : FIX Timestamp on all existing destination files,
including skipped files. ##
(prior to version 1.95 this was /T it's not backwards compatible
so scripts that use /T may fail)
/CREATE : CREATE directory tree structure + zero-length files only.
/PURGE : delete dest files/folders that no longer exist in source.
/MIR : MIRror a directory tree - equivalent to /PURGE plus all subfolders (/E) ##
Logging options
/L : List only - don't copy, timestamp or delete any files.
/NP : No Progress - don't display % copied.
/LOG:file : output status to LOG file (overwrite existing log). ##
/LOG+:file : output status to LOG file (append to existing log). ##
Advanced options you'll probably never use
/XO : eXclude Older - if destination file exists and is the same date
or newer than the source - don't bother to overwrite it.
/XC | /XN : eXclude Changed | Newer files
/XX | /XL : eXclude eXtra | Lonely files and dirs.
An "extra" file is present in destination but not source,
excluding extras will delete from destination.
A "lonely" file is present in source but not destination
excluding lonely will prevent any new files being added to the destination.
/IS : Overwrite files even if they are already the same.
/XF file [file]... : eXclude Files matching given names/paths/wildcards.##
/XD dirs [dirs]... : eXclude Directories matching given names/paths. ##
XF and XD can be used in combination e.g.
ROBOCOPY c:\source d:\dest /XF *.doc *.xls /XD c:\unwanted /S
/MAX:n : MAXimum file size - exclude files bigger than n bytes. ##
/MIN:n : MINimum file size - exclude files smaller than n bytes.##
/XA:[R][A][S][H] : eXclude files with any of the given Attributes
/IA:[R][A][S][H] : Include files with any of the given Attributes ##
/X : report all eXtra files, not just those selected & copied.
/V : produce Verbose output log, showing skipped files.
/ETA : show Estimated Time of Arrival of copied files.
## indicates a new feature in Robocopy version 1.95 |
Denk dat je daarmee wel uit de voeten kan.
Je hebt overigens wel een NT4 resource kit nodig.
Dan moet je op zoek naar een TSR die dat voor je wilt doen, of je moet het handmatig (zoals ge-flopt) voorsteld.Appie Heijn schreef op 12 november 2002 @ 15:04:
Ik moet van map naar map. Ut is namel;ijk een netwerkdrive. Netwerk onder dos draait perfect nu. Nu moet ik nog zien te synchroniseren.
En TSR's, die nog z'n nutteloze taak hebben ? Ik denk niet dat je die erg snel zal vinden, DOS is redelijk achterhaalt enzo
God, root, what is difference? | Talga Vassternich | IBM zuigt
What the fuck is TSR. Deze dos computer stuurt een aardig ingewikkelde machine aan. Dos is daar zeer geschikt voor. De instructie's voor de machine staan in de computer. Deze instructie's veranderen geregeld ik moet duz een programma'tje hebben die dit voor mij doet. Duz bijvoorbeeld ik typ in start synchro dan moet ie beginne met synchroniseren
44x Trina 330WP @ SMA 10.00; Hitachi Yutaki 5,5KW AIO 280L
TSR = Terminate and Stay Resident, de voorloper van een Service @ Windows, of een daemon @ *nix.Appie Heijn schreef op 13 november 2002 @ 15:20:
What the fuck is TSR.
Ah, mjah, dan heb je dus geen TSR nodig, al weet ik van mezelf, dat ik altijd vergeet zo'n commando in te tikkenDeze dos computer stuurt een aardig ingewikkelde machine aan. Dos is daar zeer geschikt voor. De instructie's voor de machine staan in de computer. Deze instructie's veranderen geregeld ik moet duz een programma'tje hebben die dit voor mij doet. Duz bijvoorbeeld ik typ in start synchro dan moet ie beginne met synchroniseren
God, root, what is difference? | Talga Vassternich | IBM zuigt
Ik hoef het ook niet te doen. Die gasten daar in de fabriek moeten een commando invoeren en dan moet ie beginnen met backuppen. Maar ik heb nog steeds niet echt een antwoord
44x Trina 330WP @ SMA 10.00; Hitachi Yutaki 5,5KW AIO 280L
je hebt al 2 antwoordenAppie Heijn schreef op 14 November 2002 @ 10:05:
Ik hoef het ook niet te doen. Die gasten daar in de fabriek moeten een commando invoeren en dan moet ie beginnen met backuppen. Maar ik heb nog steeds niet echt een antwoord
God, root, what is difference? | Talga Vassternich | IBM zuigt
Pagina: 1