codes

Turreta Duplicate Files Tool

Turreta Duplicate Files Tool
Turreta Duplicate Files Tool

The Duplicate Files Tool (DFT) is a small and simple tool for finding duplicate files on one’s local machine. It is a command-line application written in Rust. It runs in a terminal window 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 common files in one or more directories.
  • Third, it checks if files exist or do not exist in another one or more directories.
  • Fourth, it lists all common files 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 zip distribution file’s contents.

Please use the -h  or --help flag to list all arguments and options.

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 in both –search-dirs and –source-dirs.

The <output-type> ARG

The output-type argument specifies the output file format to write the list of files the DFT finds. DFT writes out the list of files it finds under their hashes with the default type. 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 where the application writes the affected list of files.

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.