Rsync in Windows

To perform Rsync in windows
-------------------------------------------

http://www.cygwin.com/setup-x86_64.exe

select rsyc while installation

rsync -avz --numeric-ids --progress --exclude '*.grp' /cygdrive/e/SmarterMail/* /cygdrive/d/SmarterMail/


rsync -avz --numeric-ids --progress  /cygdrive/z/SmarterMail/* /cygdrive/d/SmarterMail/

rsync -avz --numeric-ids --progress  --exclude '*.cfg' --exclude '*.xml' --exclude '*.db' --exclude '*.stat3' --exclude '*.dll'  --exclude '*.exe' /cygdrive/g/SmarterMail/* /cygdrive/d/SmarterMail/

rsync -avz --numeric-ids --progress --include '*/' --include '*.grp' --exclude '*' source/ target/

Comments

Popular posts from this blog

Logical volume vmxxxx_img is used by another device - Error on LVM removal

Open VZ cheat Sheet

Cheat sheet for Hardware RAID health check - Megaraid, Adaptec, 3wareraid and HPraid.