Skip to main content

checksum/duplicates, yada...

Project description

sumdups - checksum/duplicates, yada...

Usage

sumdups [-q] [-n] [--force] [--database DATABASE | --no-database]
        [--archive ARCHIVE | --no-archive] [--print-extensions]
        [--print-mimetypes] [--print-merged] [--print-singletons]
        [--print-duplicates] [--print-unique] [--suggest] [--short]
        [--split] [--rename HASH] [--remove HASH] [--relocate FILE]
        [--clean-files DIR] [--clean-dir DIR] [--keep FILE]
        [--check-dates] [--sync FILE] [--link-farm DIR]
        [--print-link-tree] [--print-folders] [--print-files]
        [--local-root DIR] [--remote-root DIR]
        [--pathtree-style {ascii,double,round,square}]
        [--pathtree-indent INDENT] [--pathtree-lengthen COLUMNS]
        [--pathtree-dirname-short | --pathtree-dirname-long |
        --pathtree-dirname-wrap COLUMN] [--pathtree-basename-short |
        --pathtree-basename-long | --pathtree-basename-wrap COLUMN]
        [--width-left WIDTH] [--width-center WIDTH]
        [--width-right WIDTH] [--color | --no-color] [-h] [-v] [-V]
        [--print-config] [--print-url] [--completion [SHELL]]
        [FILE] [src_path ...]

Find duplicate files based on checksum (hash or digest) of contents.

Positional Arguments

FILE                Read paths from `FILE` instead of `stdin`.
src_path            Source files/directories to search recursively.

Options

-q, --quiet         Suppress no-action warnings.
-n, --no-action     Don't change anything.
--force             Always perform expensive calculations.
--database DATABASE
                    Use DATABASE.
--no-database       Do not use database.
--archive ARCHIVE   Create archives in directory ARCDIR.
--no-archive        Do not archive during rename or remove.
--print-extensions  Print extensions sorted by occurences.
--print-mimetypes   Print mimetypes sorted by occurences.
--print-merged      Print merged extensions and mimetypes sorted by
                    occurences.
--print-singletons  Print all singleton files.
--print-duplicates  Print all duplicate files.
--print-unique      Print one (and only one) pathname for each unique
                    HASH.
--suggest           Print suggested pathnames.
--short             Print pathnames only.
--split             Print with split dirname and basename.
--rename HASH       Rename dupset HASH using the suggested name. Use
                    `@file` to read list of HASH from file. Use --local-
                    root DIR to change the suggested root.
--remove HASH       Remove all files in dupset HASH. Use `@file` to read
                    list of HASH from file.
--relocate FILE     Move FILE into the suggested directory. Use `@file` to
                    read list of FILE from file.
--clean-files DIR   Remove any file in DIR that is part of a dupset.
--clean-dir DIR     Remove any file in DIR that is part of a dupset.
--keep FILE         Remove all duplicates of FILE.
--check-dates       Check exif date against suggested directory.
--sync FILE         Compare database with list of remote FILEs.
--link-farm DIR     Create link-farm at DIR to all src_paths.
--print-link-tree   Print link-tree.
--print-folders     Print folders.
--print-files       Print files.
--local-root DIR    Path to the root of the local tree.
--remote-root DIR   Path to the root of the remote tree.

pathtree formatting options

--pathtree-style {ascii,double,round,square}
                    Choose rendering style (default: `round`).
--pathtree-indent INDENT
                    Indent output with INDENT spaces (default: `0`).
--pathtree-lengthen COLUMNS
                    Lengthen horizontal lines by COLUMNS (default: `0`).
--pathtree-dirname-short
                    With short dirnames (default: `False`).
--pathtree-dirname-long
                    With long dirnames (default: `True`).
--pathtree-dirname-wrap COLUMN
                    Wrap dirnames at COLUMN (default: `66`).
--pathtree-basename-short
                    With short basenames (default: `False`).
--pathtree-basename-long
                    With long basenames (default: `True`).
--pathtree-basename-wrap COLUMN
                    Wrap basenames at COLUMN (default: `66`).

more tree formatting options

--width-left WIDTH  Width of left column .
--width-center WIDTH
                    Width of center column .
--width-right WIDTH
                    Width of right column .
--color             With color.
--no-color          Without color.

General options

-h, --help          Show this help message and exit.
-v, --verbose       `-v` for detailed output and `-vv` for more detailed.
-V, --version       Print version number and exit.
--print-config      Print effective config and exit.
--print-url         Print project url and exit.
--completion [SHELL]
                    Print completion scripts for `SHELL` and exit
                    (default: `bash`).

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

rlane_sumdups-1.0.2.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

rlane_sumdups-1.0.2-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file rlane_sumdups-1.0.2.tar.gz.

File metadata

  • Download URL: rlane_sumdups-1.0.2.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for rlane_sumdups-1.0.2.tar.gz
Algorithm Hash digest
SHA256 5d2a32433f3de147537e5126c8d6a6799be5e27b89e9fa6cf6af0cf5c39135e1
MD5 ed2c5612590fb8d1e896df1ea6dd408e
BLAKE2b-256 56f390ef4a8646f88885355dbec1e148e1799f3e14b0eaf29650d4de48c18c99

See more details on using hashes here.

File details

Details for the file rlane_sumdups-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for rlane_sumdups-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7ada449ab7305c3fbb462669b8e841fa325cfed75fd76f2b0f0055c9a6d3cba8
MD5 292ac88c0197cfeefe47155c0bf89bbc
BLAKE2b-256 8a6268808893a1c21d7effbdb865370b6e016f0aa3cc2fd5bbf491034fc90b46

See more details on using hashes here.

Supported by

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