Rsync for Windows (fork with additional flags: --chmod, --no-perms, --omit-dir-times, -z)
Find a file
Mario Zechner 7e3d439705
Merge pull request #1 from badlogic/passthrough-unknown-args
Allow passing through unknown rsync arguments
2026-02-12 17:17:37 +01:00
.github/workflows Fix workflow permissions 2025-12-22 19:13:46 +01:00
src Allow passing through unknown rsync arguments 2026-02-12 16:08:43 +00:00
.gitignore Fork with --chmod, --no-perms, --omit-dir-times, -z flags 2025-12-22 19:11:07 +01:00
Cargo.toml Fork with --chmod, --no-perms, --omit-dir-times, -z flags 2025-12-22 19:11:07 +01:00
README.md Fork with --chmod, --no-perms, --omit-dir-times, -z flags 2025-12-22 19:11:07 +01:00

rsync-win (fork)

Fork of rn7s2/rsync-win with additional flags.

Additional flags

  • --chmod=CHMOD - Affect file and/or directory permissions
  • --no-perms - Do not preserve permissions
  • --omit-dir-times - Omit directories from --times
  • -z, --compress - Compress file data during transfer

Usage

rsync-win.exe [OPTIONS] --src <SRC> --dest <DEST>

Options:
  -i, --identity <IDENTITY>  SSH identity file
  -v, --verbose              
  -q, --quiet                
  -c, --checksum             
  -a, --archive              
  -r, --recursive            
      --delete               
      --exclude <EXCLUDE>    
      --partial              
      --progress             
      --bwlimit <BWLIMIT>    
  -4, --ipv4                 
  -6, --ipv6                 
      --ssh-port <SSH_PORT>  
      --chmod <CHMOD>        Affect file and/or directory permissions
      --no-perms             Do not preserve permissions
      --omit-dir-times       Omit directories from --times
  -z, --compress             Compress file data during transfer
  -s, --src <SRC>            
  -d, --dest <DEST>          
  -h, --help                 Print help
  -V, --version              Print version

Building

cargo build --release

Then copy target/release/rsync-win.exe alongside the cygwin64 folder from the original rsync-win release.

Release

Tag with v* to trigger GitHub Actions build.