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.4.tar.gz (9.0 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.4-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xclean-0.0.4.tar.gz
  • Upload date:
  • Size: 9.0 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.4.tar.gz
Algorithm Hash digest
SHA256 e984bdc2e6b76f7afb9c5e3d59b41ab4956886ed9f160fdf4320b4a92ccd4943
MD5 d3ec97c5ee43869d33e40d83632f8a21
BLAKE2b-256 1d9d06f06dd3ac26e4e9608e33701730e29f8b79b0b31c753112eaecb9279ef4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xclean-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 6.8 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9564b84c0c00827cac2b684c6f0fffc7ea9de25a4f6637dbd114aff7ad9a7d8b
MD5 a9cb0aaf183bb4e4926fd243f3a30481
BLAKE2b-256 b5262320ad7f11d73b4123b0ee2949a9cff8b98fa37423580d3ac27e18f6a7b7

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