Merhaba arkadaşlar. Aşağıda kullandığım xcopy komutunu görüyorsunuz. Aynısını linux için yazmaya çalışıyorum.
cp --update -rv /home/asg/sdb1/. /home/asg/sdc1
Gibi bir şeyler yaptım. Özellikle istediğim dosya değişiklik tarahinin dikkate alınması. Acaba bu komut aşağıdaki xcopy ile yaptığım işi karşılar mı?
Hepinize selamlar.
Komut
xCopy C:\AsG. D:\AsG\ /S /Y /D /H /F /C
Parametrelerin Manaları
/S Copies directories and subdirectories except empty ones.
/Y Suppresses prompting to confirm you want to overwrite an existing destination file.
/D:m-d-y Copies files changed on or after the specified date.
If no date is given, copies only those files whose
source time is newer than the destination time.
/H Copies hidden and system files also.
/F Displays full source and destination file names while copying.
/C Continues copying even if errors occur.