Forrest logo
tool overview
On this page you find all important commands for the CLI tool jdupes. If the command you are looking for is missing please ask our AI.

jdupes

jdupes is a command line tool used for finding and eliminating duplicate files within a directory or multiple directories. It was developed by Jody Bruchon in 2015 and is open-source software. It is written in the C programming language and is available for multiple operating systems, including Windows, macOS, and Linux.

The main purpose of jdupes is to identify duplicate files based on their content, not just their names or sizes. It uses an advanced algorithm to compare file contents, ensuring accurate results. This algorithm is efficient and can quickly scan large directories with thousands of files.

jdupes offers several command line options and flags that allow users to customize the search and deletion process. For example, it can exclude certain files or directories from the scan, provide verbose output, or even simulate deletion without actually removing any files.

The tool provides a variety of deletion modes, including interactive, preserve-first, and immediate deletion. The interactive mode allows users to choose which duplicates to keep or remove, while the preserve-first mode keeps the first occurrence of each duplicate and deletes the rest. Immediate deletion directly removes all duplicates without any user intervention.

jdupes can also create hard links or symbolic links to eliminate duplicate files, saving disk space while maintaining file accessibility. Additionally, it supports specifying a reference path, allowing users to compare files in different directories for duplicates.

Overall, jdupes is a reliable and efficient command line tool for identifying and managing duplicate files. It is a popular choice for users looking to declutter their file systems and recover wasted disk space.

List of commands for jdupes:

  • jdupes:tldr:26975 jdupes: Search directory recursively and let user choose files to preserve.
    $ jdupes --delete --recurse ${path-to-directory}
    try on your machine
    explain this command
  • jdupes:tldr:32579 jdupes: Search multiple directories and keep the directory order in result.
    $ jdupes -O ${directory1} ${directory2} ${directory3}
    try on your machine
    explain this command
  • jdupes:tldr:4e4a4 jdupes: Search a single directory.
    $ jdupes ${path-to-directory}
    try on your machine
    explain this command
  • jdupes:tldr:693a0 jdupes: Search multiple directories.
    $ jdupes ${directory1} ${directory2}
    try on your machine
    explain this command
  • jdupes:tldr:c4680 jdupes: Search all directories recursively.
    $ jdupes --recurse ${path-to-directory}
    try on your machine
    explain this command
  • jdupes:tldr:cd5a7 jdupes: Search multiple directories and follow subdirectores under directory2, not directory1.
    $ jdupes ${directory1} --recurse: ${directory2}
    try on your machine
    explain this command
tool overview