dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
share rss forum feed

billl

join:2010-05-03
reply to Rambytes

Re: [Off-Topic] Bon logiciel de synchronisation

Pour un autre exemple de commande robocopy ;

Tu peux entrer la commande directement dans le céduleur de tache, ou fichier de commande (cmd ou bat, a ta guise) Si tu veux encore plus de controle...

robocopy "C:\Documents and Settings\All Users\Documents\" "\\mysan\Disk-1\Backup Doc" /E /PURGE /FFT /XF desktop.ini /XF thumbs.db /NP /COPY:DT /LOG:z:\BACKUP\LOGS\Backup_docs_NAS.log

/E :: copy subdirectories, including Empty ones.
/PURGE :: delete dest files/dirs that no longer exist in source.
/FFT :: assume FAT File Times (2-second granularity).
/XF file [file]... :: eXclude Files matching given names/paths/wildcards.
/NP :: No Progress - don't display percentage copied.
/COPY:copyflag[s] :: what to COPY for files (default is /COPY:DAT).
(copyflags : D=Data, A=Attributes, T=Timestamps).
(S=Security=NTFS ACLs, O=Owner info, U=aUditing info).
/LOG:file :: output status to LOG file (overwrite existing log).