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

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: rlane_sumdups-1.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 76f9dce492a92e770d17dd831c7edc072b31245a2b51227471d83c3733628a3f
MD5 3ee2ef08649c52a5ce48735b9cfa1361
BLAKE2b-256 b5866a0f6f9bb4fcbd95cb0a7140de02a6524a86479de6d3bfc14de77e84284e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rlane_sumdups-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for rlane_sumdups-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 32a39d172ce5fa045029ebc397467b90d53d84e5bf9598d383cb756c47fe4e59
MD5 56f0c48c5e450d56074093124741f982
BLAKE2b-256 f1e68f87666a1d8a102ad5ee24e464e39872423001c2f256e58634c00f0013c8

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