8000 GitHub - ValentinLibouton/find_duplicates
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ValentinLibouton/find_duplicates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Find Duplicates

Find Duplicates is a command-line tool for searching and identifying duplicate files within a directory. It compares files based on their name and size and provides options to display the duplicate files or generate output in various formats.

Installation

  1. Clone the repository:
git clone git@github.com:ValentinLibouton/find_duplicates.git
  1. Navigate to the project directory:
cd find_duplicates
  1. Install the required dependencies:
pip install -r requirements.txt

Usage

Run the script find_duplicates.py with the following command-line arguments:

python find_duplicates.py directory [output_type] [--duplicates]
  • directory (required): The directory to search for duplicate files.
  • output_type (optional): The type of output. Supported options are "terminal", "html", and "csv". The default is "terminal".
  • --duplicates (optional): Display only duplicate files. If specified, the script will only show duplicate files; otherwise, it will display all files in the directory.

Examples:

  • Search for duplicate files in a directory and display the results in the terminal:
python find_duplicates.py /path/to/directory
  • Search for duplicate files in a directory and generate an HTML report:
python find_duplicates.py /path/to/directory html
  • Search for duplicate files in a directory and generate a CSV file:
python find_duplicates.py /path/to/directory csv
  • Search for duplicate files only and display the results in the terminal:
python find_duplicates.py /path/to/directory terminal --duplicates

License

  • This project is licensed under ...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0