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 to archive the duplicate files to another location.
Archiving new files
Specify --archive-new to archive any new 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.
Compare AAE files as well
To compare the file and associated AAE file specify the --aae option as well.
Scanning specific file types
To scan files of specific types use the --include and --exclude options.
Prompt before changing
To answer a prompt before changing a file specify --prompt
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] [-n ARCHIVE_NEW]
[-i [EXTENSIONS ...]] [-x [EXTENSIONS ...]]
[--unprotect] [--remove] [--trash] [--clean] [--prompt]
[--new] [--dup] [--summary] [--copy] [--ignore-existing]
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
-n ARCHIVE_NEW, --archive-new ARCHIVE_NEW
Archive new files 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 in checks for duplicates
--aae Include AAE files in checks for duplicates
--new Report new files
--dup Report duplicate files
--summary Report summary of changes
--copy Copy files instead of moving
--ignore-existing Ignore existing archvive files
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xclean-0.0.10.tar.gz.
File metadata
- Download URL: xclean-0.0.10.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fab4cf1832cc58a30904fd4b14f409206cb7e032512a1cae6c54055241843069
|
|
| MD5 |
bcb2b865444c9ac5ac62be57fb1cdd8a
|
|
| BLAKE2b-256 |
7490049fcaa0228fa3a2c036fc3791db43de60bd70b6f79675d3611ed2e6d885
|
File details
Details for the file xclean-0.0.10-py3-none-any.whl.
File metadata
- Download URL: xclean-0.0.10-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ca6bdcfbe847fdb5d8a337b5e89e7e37a3d64df4b47b9fc979f4c4d9027425f
|
|
| MD5 |
d6b017ab935675e9d2b470382c8accc8
|
|
| BLAKE2b-256 |
d37d5cbb01d9d8dbd7f90efee251df57a3fa90e12eed7caad07b24c952b46873
|