Downloads:

76,322

Downloads of v 6.2.0:

20

Last Update:

20 Apr 2021

Package Maintainer(s):

Software Author(s):

  • Itefix

Tags:

rsync tool file copy cygwin itefix

cwRsync (Free Edition)

This is not the latest version of cwRsync (Free Edition) available.

  • 1
  • 2
  • 3

6.2.0 | Updated: 20 Apr 2021

Downloads:

76,322

Downloads of v 6.2.0:

20

Maintainer(s):

Software Author(s):

  • Itefix

  • 1
  • 2
  • 3
cwRsync (Free Edition) 6.2.0

This is not the latest version of cwRsync (Free Edition) available.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details

To install cwRsync (Free Edition), run the following command from the command line or from PowerShell:

>

To upgrade cwRsync (Free Edition), run the following command from the command line or from PowerShell:

>

To uninstall cwRsync (Free Edition), run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://community.chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade rsync -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade rsync -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure rsync installed
  win_chocolatey:
    name: rsync
    state: present
    version: 6.2.0
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'rsync' do
  action    :install
  version  '6.2.0'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: rsync,
    Version: 6.2.0,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller rsync
{
   Name     = 'rsync'
   Ensure   = 'Present'
   Version  = '6.2.0'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'rsync':
  provider => 'chocolatey',
  ensure   => '6.2.0',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install rsync version="6.2.0" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 06 May 2021.

Description

Rsync is a fast and extraordinarily versatile file copying tool for both remote and local files.

Rsync uses a delta-transfer algorithm which provides a very fast method for bringing remote files into sync. It does
this by sending just the differences in the files across the link, without requiring that both sets of files are at one
of the ends of the link beforehand. At first glance this may seem impossible because the calculation of diffs two files
normally requires local access to both files.

screenshot

Package Parameters

  • /User - override the default behavior and set the CWRSYNC_HOME environment variable for the current user only
    e.g. choco install -y rsync --package-parameters="/User"

To have Chocolatey remember parameters on upgrade, be sure to set choco feature enable -n=useRememberedArgumentsForUpgrades.

Notes

  • Current versions of rsync are only provided as a 64-bit version

  • If support for 32-bit Windows is required use the legacy version rsync 5.5.0.20190204.

    choco install rsync --version 5.5.0.20190204
    choco pin add -n=rsync --version 5.5.0.20190204
    
  • This package is automatically updated using the Chocolatey Automatic Package Update Model (AU).
    If you find it is out of date by more than a day or two, please contact the maintainer(s) and let them know the package is no longer updating correctly.


legal\LICENSE.txt
Copyright (c) 2019, itefix.net
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
legal\VERIFICATION.txt
VERIFICATION

Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

The application has been downloaded from the official distribution and can
be verified by:

1. Go to the binary distribution page

  https://www.itefix.net/cwrsync?qt-cwrsync_client=1&qt-cwrsync=1#qt-cwrsync

and download the archive cwrsync_6.2.0_x64_free.zip using the link on the page.

Alternatively the archive can be downloaded directly from

  https://itefix.net/dl/free-software/cwrsync_6.2.0_x64_free.zip

2. The archive can be validated by comparing checksums
  - Use powershell function 'Get-Filehash' - Get-Filehash -Algorithm sha256 cwrsync_6.2.0_x64_free.zip
  - Use chocolatey utility 'checksum.exe'  - checksum -t sha256 -f cwrsync_6.2.0_x64_free.zip

  File:     cwrsync_6.2.0_x64_free.zip
  Type:     sha256
  Checksum: ECC47B408C782DD887D47892E9F65903DE44D7928CAF98B699199F116815CE79

Contents of file LICENSE.txt is obtained from https://itefix.net/simplified-bsd-license as referenced
from https://www.itefix.net/content/cwrsync-license-version.
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

if ((Get-ProcessorBits 32) -or $env:ChocolateyForceX86 -eq 'true') {
  Write-Warning "Itefix no longer provide a 32-bit build of cwRsync"
  Write-Warning "32 bit users should specify version 5.5.0.20190204"
  Write-Error -Message "32-bit version of rsync not available" -Category ResourceUnavailable
}

$toolsDir = Split-Path -parent $MyInvocation.MyCommand.Definition
$archive  = Join-Path $toolsDir 'cwrsync_6.2.0_x64_free.zip'

$unzipArgs = @{
  PackageName  = $env:ChocolateyPackageName
  FileFullPath = $archive
  Destination  = $toolsDir
}

Get-ChocolateyUnzip @unzipArgs

$files = Get-ChildItem $toolsDir -include *.exe -recurse

foreach ($file in $files) {
  New-Item "$file.ignore" -type file -force | Out-Null
}

$pp = Get-PackageParameters

if ($pp.User) {
  $variableType = 'User'
} else {
  $variableType = 'Machine'
}

$cwrsync_home = $archive -split '.zip' | Select-Object -first 1
$rsync_bat    = Join-Path $toolsDir 'rsync.bat'

$environmentArgs = @{
    VariableName  = 'CWRSYNC_HOME'
    VariableValue = $cwrsync_home
    VariableType  = $variableType
}

Install-ChocolateyEnvironmentVariable @environmentArgs

Install-BinFile -Name 'rsync' -Path $rsync_bat

$files = Get-ChildItem $toolsDir -include *.exe -recurse

foreach ($file in $files) {
  New-Item "$file.ignore" -type file -force | Out-Null
}

Update-SessionEnvironment
tools\chocolateyUninstall.ps1
$ErrorActionPreference = 'Stop'

# we don't have access to the install parameters so we need to adopt a coarse approach to remove the CWRSYNC_HOME variable
# if it is present as we are not able to determine if the install was done at a machine or user level.  Given the lack
# of information we will always remove at a user level but only action at the machine level if the process is running
# with admin priviledges
$userHome = Get-EnvironmentVariable -name 'CWRSYNC_HOME' -Scope 'User'

if ($null -ne $userHome -and $userHome -ne '') {
  Uninstall-ChocolateyEnvironmentVariable -VariableName 'CWRSYNC_HOME' -VariableType 'User'
}

if (Test-ProcessAdminRights) {
  $machineHome = Get-EnvironmentVariable -name 'CWRSYNC_HOME' -Scope 'Machine'

  if ($null -ne $machineHome -and $machineHome -ne '') {
    Uninstall-ChocolateyEnvironmentVariable -VariableName 'CWRSYNC_HOME' -VariableType 'Machine'
  }
}

# the -Path argument is mandatory but unused on removal so does not need to be resolved to the correct value
Uninstall-BinFile -Name 'rsync' -Path 'rsync.bat'

Update-SessionEnvironment
tools\cwrsync_6.2.0_x64_free.zip
md5: 2E317F5626DEB1B9FC599F3203EC8442 | sha1: E8A8DBEDC9D1F64E1E722899DC1DFA25790F8805 | sha256: ECC47B408C782DD887D47892E9F65903DE44D7928CAF98B699199F116815CE79 | sha512: A7B2FEEB4A050FC2F9E046AF8C4D9B87DBBEA11F3D028307654E021CA55739095E4483EE0ADCC3A9DE4BDE24C59BAAEC70F9B6C92928CBF7F5809A8F5BDB9A20
tools\rsync.bat
@ECHO OFF

SETLOCAL

SET PATH=%CWRSYNC_HOME%\bin;%PATH%
IF NOT DEFINED HOME SET HOME=%USERPROFILE%

rsync %*

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
cwRsync (Free Edition) 6.2.0 20 Tuesday, April 20, 2021 Approved
cwRsync (Free Edition) 5.5.0.20190204 35870 Monday, February 4, 2019 Approved
cwRsync (Free Edition) 5.5.0.20180618 6061 Tuesday, June 19, 2018 Approved
cwRsync (Free Edition) 5.5.0.20180530 2810 Wednesday, May 30, 2018 Approved
cwRsync (Free Edition) 5.5.0.20160518 10708 Wednesday, May 18, 2016 Approved
cwRsync (Free Edition) 5.5.0 646 Friday, April 22, 2016 Approved
RSync for Windows 5.4.1.20150827 1752 Monday, August 31, 2015 Approved
RSync for Windows 5.4.1.1 1870 Friday, April 10, 2015 Approved

This package has no dependencies.

Discussion for the cwRsync (Free Edition) Package

Ground Rules:

  • This discussion is only about cwRsync (Free Edition) and the cwRsync (Free Edition) package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or cwRsync (Free Edition), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus