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.3.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: rlane_sumdups-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 59daa4304940600683db0a8336a7e0cd7c89f50101189e2d134d7d714ba88228
MD5 2c90573de1e142e9122a373082110d9b
BLAKE2b-256 cf4d2ae9e80555ddd23c18ecb8f6e6e9403250ec179d54a199b7cd8e7c39a254

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rlane_sumdups-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c035c9fdcdc61e57af63482d8e4acd1ae77c9f969f0b182ffac31b3266a942c8
MD5 e5a8c201ec6c1c1f9683f4488e2e42be
BLAKE2b-256 a91125ddf720f09c52cdd4952a15ba5185d5b93a37169179e408db5298df86ea

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