kurulum-rsync

This commit is contained in:
milisarge 2017-07-19 01:59:41 +03:00
parent 54073007b0
commit f243995d8e
1 changed files with 2 additions and 1 deletions

View File

@ -256,7 +256,8 @@ def sistemKopyala(baglam):
for dizin in dizinler:
i+=1
print (i,"/",mikdiz,dizin,"kopyalanıyor.....")
komut="rsync --delete -a --info=progress2 /"+dizin+" "+baglam+" --exclude /proc"
#komut="rsync --delete -a --info=progress2 /"+dizin+" "+baglam+" --exclude /proc"
komut="rsync --delete -axHAWX --info=progress2 --numeric-ids /"+dizin+" "+baglam+" --exclude /proc"
print (dizin,"kopyalandı.")
os.system(komut)
for ydizin in yenidizinler: