Skip to main content

File de-duplication utility

Project description

xclean

File de-duplication utility.

Scan files in main to record main files to compare against.

Scan files in target to find files that are duplicates of those in main.

By default it just lists the duplicates.

Removing duplicates

Specify --remove to actually remove the duplicate files.

Archiving duplicates

Specify --archive to archive the duplicate files to another location.

Trashing duplicates

Specify --trash to move the duplicate files to the trash.

Reset the database

Reset the database content of main files by specifying --clean.

Compare XMP files as well

To compare the file and associated XMP file specify the --xmp option as well.

Scanning specific file types

To scan files of specific types use the --include and --exclude options.

Installation

Using pypi

pip install xclean

Using github

pip install https://github.com/bbc6502/xclean/archive/refs/heads/main.zip

Usage

usage: xclean [-h] [-m MAIN] [-t TARGET] [-a ARCHIVE_TO] [-i [EXTENSIONS ...]] [-x [EXTENSIONS ...]] [--unprotect] [--remove] [--trash] [--clean]

options:
  -h, --help            show this help message and exit
  -m MAIN, --main MAIN
                        Directory where master files reside
  -t TARGET, --target TARGET
                        Directory where duplicate files may reside
  -a ARCHIVE_TO, --archive-to ARCHIVE_TO
                        Archive duplicates to folder
  -i [EXTENSIONS ...], --include [EXTENSIONS ...]
                        Include Extensions
  -x [EXTENSIONS ...], --exclude [EXTENSIONS ...]
                        Exclude Extensions
  --unprotect           Unprotect main files
  --remove              Remove duplicate files
  --trash               Trash duplicate files
  --clean               Clean database
  --xmp                 Include XMP files as well

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xclean-0.0.6.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xclean-0.0.6-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file xclean-0.0.6.tar.gz.

File metadata

  • Download URL: xclean-0.0.6.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.15

File hashes

Hashes for xclean-0.0.6.tar.gz
Algorithm Hash digest
SHA256 bdfad5c5c38c792582a138ffd26c2cdbe71205a01e0d2f63df24172136c96768
MD5 ea11aeb0c8045f8a08cd071c62ec469f
BLAKE2b-256 483db84342e8d31dc5d736140a5dc54218bb0639d342e5b1c68798f6f6bd5653

See more details on using hashes here.

File details

Details for the file xclean-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: xclean-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.15

File hashes

Hashes for xclean-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 5430780ded2a9bf1aa83c95114335de8ab001d8b8b024fe11d3e771456a1cb6e
MD5 6686f77dbaaabba77affd57999e89781
BLAKE2b-256 f84fd86e605c1740650a9650f263252d9dc9b50ee30ece98cff551632bce66a8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page