Skip to content

a tool that allows scanning for duplicate files in a specific directory.

Notifications You must be signed in to change notification settings

arg0n3x/scanndf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

scanndf (scan duplicate files)

This is a Python tool that allows scanning a directory to find duplicate files. It uses the file hash to determine if a file is duplicated. When a duplicate file is found, its path is displayed on the screen. The duplicate files can also be deleted or overwritten as they are found.

How to used it

  1. Clone the repository
 $ git clone https://github.com/arg0n3x/scanndf.git
  1. Grant execution permissions to the script
 $ chmod 700 scanndf
  1. Run the script by passing the -d parameter and providing a directory containing files
 $ ./scanndf -d <directory path>

Available options

This script contains two essential parameters that allow deleting or overwriting duplicate files.

-r This parameter tells the script to only delete the files. -o This parameter tells the script to overwrite the files, which is done using the shred command.

NOTE: Consider whether you want to delete the files and be cautious when using the -o parameter.


About

a tool that allows scanning for duplicate files in a specific directory.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages