Turreta Duplicate Files Tool

The Duplicate Files Tool (DFT) is a small and simple application for finding duplicate files on local machines. It is a command-line application written in Rust. Meaning, we run it in terminal windows like the Windows Command-Line prompt (DOS). It has no fancy user interface for now.

Duplicate Files Tool Features

The Duplicate Files tool has the following features.

  • One, it lists all duplicate files from one or more directories.
  • Second, it lists all files that are common in one or more directories.
  • Third, it checks if files exist or do not exist in other one or more directories.
  • Fourth, it lists all files that are common between the search and source directories.

System Requirements

Windows

DFT runs on Windows 10 64-bit.

Linux

Not yet supported

Getting Started

  1. Download the zip file. It contains the latest binary.
  2. Check the integrity of the zip file.
  3. Unzip files to a separate directory
  4. Open a command-line terminal window.
  5. Change the current directory to the new directory.
  6. Run the duplicate-files-tool.exe file with options and arguments

The latest version is 0.1.0-alpha. Download the file 0.1.0-alpha.zip from this link. The link shows the following files.

FilesDescription
dft-0.1.0-alpha.zipThe Duplicate Files Tool binary executable file
dft-0.1.0-alpha.zip.sigOpenPGP Signature

Usage

Open a Windows Command-line window. Then, change the current directory to where you extracted the contents of the zip distribution file.

To list all arguments and options, please use the -h  or --help flag.

DFT displays the following output.

The <command> ARG

There are four possible values for the command argument – Find_Duplicates, Find_Exists, Find_Not_Exist, and Find_Common.

  • The Find_Duplicates  argument looks for duplicates in directories specified in the --search-dirs option.
  • The Find_Exists argument looks for files in directories specified in the --search-dirs option. The files to look for are those found in the directories specified in the --source_dirs.
  • The Find_Not_Exists argument looks for files from --search-dirs that should not exist in --source-dirs.
  • The Find_Common argument looks for files that exist in both --search-dirs and --source-dirs.

The <output-type> ARG

The output-type argument specifies the format of the output file to write the list of files the DFT finds. With the default type, DFT writes out the list of files it finds under their hashes. For example:

On the other hand, for the json type, the list of files is written in JSON format.

The --output-type Option

The --output-type option specifies the file the list of files will be written in.

The --search-dirs Option

The --search-dirs option specifies a set of directories where to look for files. It is required for all the <command> arguments.

The --source-dirs Option

The --source-dirs option specifies a set of directories whose files are to searched for in --search-dirs. It is required for the Find_Duplicate argument.