Downloads:

1,270

Downloads of v 1.18.2:

108

Last Update:

15 Sep 2020

Package Maintainer(s):

Software Author(s):

  • Jody Bruchon

Tags:

fdupes dupes dedupe find cli foss cross-platform

jdupes

1.18.2 | Updated: 15 Sep 2020

Downloads:

1,270

Downloads of v 1.18.2:

108

Maintainer(s):

Software Author(s):

  • Jody Bruchon

jdupes 1.18.2

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install jdupes, run the following command from the command line or from PowerShell:

>

To upgrade jdupes, run the following command from the command line or from PowerShell:

>

To uninstall jdupes, 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://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://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade jdupes -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 jdupes -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 jdupes installed
  win_chocolatey:
    name: jdupes
    state: present
    version: 1.18.2
    source: STEP 3 URL

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

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'jdupes' do
  action    :install
  version  '1.18.2'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: jdupes,
    Version: 1.18.2,
    Source: STEP 3 URL
);

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


cChocoPackageInstaller jdupes
{
   Name     = 'jdupes'
   Ensure   = 'Present'
   Version  = '1.18.2'
   Source   = 'STEP 3 URL'
}

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


package { 'jdupes':
  provider => 'chocolatey',
  ensure   => '1.18.2',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install jdupes version="1.18.2" 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.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 15 Sep 2020.

Description

jdupes is a program for identifying and taking actions upon duplicate
files. This fork known as 'jdupes' is heavily modified from and improved
over the original. See CHANGES for details.

A WORD OF WARNING: jdupes IS NOT a drop-in compatible replacement for
fdupes! Do not blindly replace fdupes with jdupes in scripts and expect
everything to work the same way. Option availability and meanings differ
between the two programs. For example, the -I switch in jdupes means
"isolate" and blocks intra-argument matching, while in fdupes it means
"immediately delete files during scanning without prompting the user."


tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop';
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  unzipLocation = $toolsDir
  url           = "https://github.com/jbruchon/jdupes/releases/download/v1.18.2/jdupes-1.18.2-win32.zip"
  checksum      = '6eb198043c569caec3005e8b3b6687b37735d1b6cf64d908094b5914b1db50b6'
  checksumType  = 'sha256'
  url64bit      = "https://github.com/jbruchon/jdupes/releases/download/v1.18.2/jdupes-1.18.2-win64.zip"
  checksum64    = '8656713c7d454c35db901f04609710a58e8e1b74308677939fe2e0ce8cb25530'
  checksumType64= 'sha256'
}

Install-ChocolateyZipPackage @packageArgs

# Remove old versions
Get-ChildItem -Path (Join-Path -Path $toolsDir -ChildPath "jdupes-*") -Directory |
  Where-Object { $_.Name -INotLike "jdupes-1.18.2-*" } |
  Remove-Item -Recurse

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
jdupes 1.18.1 115 Wednesday, July 22, 2020 Approved
jdupes 1.16.0 91 Monday, June 8, 2020 Approved
jdupes 1.15.0 64 Wednesday, May 20, 2020 Approved
jdupes 1.13.2 294 Tuesday, October 15, 2019 Approved
jdupes 1.12 192 Monday, February 18, 2019 Approved
jdupes 1.11 119 Monday, January 7, 2019 Approved
jdupes 1.10.3 135 Sunday, September 9, 2018 Approved
jdupes 1.10.2 152 Saturday, July 21, 2018 Approved

  • Add -U/--notravcheck to skip double-traversal safety (for Google Drive FS)

    • Unified all simple packaging options under a single 'make package' call
    • Reduce code size on macOS by dropping some Linux-specific code

    This release is basically identical to 1.18.1, except for the new -U/--notravcheck option that was added to disable the double-traversal safety check. This fix has been added to enable recursion on Google Drive File Stream which returns the same device:inode pair for ALL directories for some strange reason. If you don't need -U, don't be in any rush to upgrade.


This package has no dependencies.

Discussion for the jdupes Package

Ground Rules:

  • This discussion is only about jdupes and the jdupes 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 jdupes, 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