Unverified Commit bfa18f4f authored by Stefan Scherer's avatar Stefan Scherer Committed by GitHub
Browse files

Merge pull request #134 from PhilArmstrong/my

Update rsync.bat to latest version of rsync
parents 8a04a65c 8189778e
...@@ -5,12 +5,12 @@ if not exist "C:\Windows\Temp\7z920-x64.msi" ( ...@@ -5,12 +5,12 @@ if not exist "C:\Windows\Temp\7z920-x64.msi" (
msiexec /qb /i C:\Windows\Temp\7z920-x64.msi msiexec /qb /i C:\Windows\Temp\7z920-x64.msi
pushd C:\Windows\Temp pushd C:\Windows\Temp
powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://mirrors.kernel.org/sourceware/cygwin/x86_64/release/rsync/rsync-3.1.0-1.tar.xz', 'C:\Windows\Temp\rsync-3.1.0-1.tar.xz')" <NUL powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://mirrors.kernel.org/sourceware/cygwin/x86_64/release/rsync/rsync-3.1.2-1.tar.xz', 'C:\Windows\Temp\rsync-3.1.2-1.tar.xz')" <NUL
cmd /c ""C:\Program Files\7-Zip\7z.exe" x rsync-3.1.0-1.tar.xz" cmd /c ""C:\Program Files\7-Zip\7z.exe" x rsync-3.1.2-1.tar.xz"
cmd /c ""C:\Program Files\7-Zip\7z.exe" x rsync-3.1.0-1.tar" cmd /c ""C:\Program Files\7-Zip\7z.exe" x rsync-3.1.2-1.tar"
copy /Y usr\bin\rsync.exe "C:\Program Files\OpenSSH\bin\rsync.exe" copy /Y usr\bin\rsync.exe "C:\Program Files\OpenSSH\bin\rsync.exe"
rmdir /s /q usr rmdir /s /q usr
del rsync-3.1.0-1.tar del rsync-3.1.2-1.tar
popd popd
msiexec /qb /x C:\Windows\Temp\7z920-x64.msi msiexec /qb /x C:\Windows\Temp\7z920-x64.msi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment