Skip to main content

Bear

The decluttering deduplicator.

Coverage Build GitHub version PyPI version PyPI - Python Version Latest release deps GitHub repo deps

Downloads total Downloads month Downloads week All Releases Code bytes Repo size

A bear as a spirit animal is strong and confident, it's a guide to take leadership in your life without fear, provides courage and a stable foundation to face challenges. The bear spirit helps to dedicate time and energy to introspective practices.

Same as the bear spirit, this application provides you with confidence to take leadership in your digital life, find all the mess you've been collecting for a while and gives you a stable foundation to face the challenge of removing duplicated data on your machine.

Once you start removing duplicates, soon you realize how much free space you've gained and looking through the various files from the high-level point of view will slightly poke you to set the order to the files, to categorize them and eventually make your machine a clean space.

Feel free to open a pull request with your improvements for the project, open an issue in case of bug or a feature request and come and talk about the project in the Matrix community

Installation

Currently there is a Python module installation available, and some platform-specific releases. Check the assets in the GitHub releases.

Binaries

The Windows build is made specifically for Windows 10, so it might not work without Universal CRT present on the system. The GNU/Linux build is created on Debian trusty and anything older than that most likely won't work. Use Python installation instead.

The "extension" .linux and .macos is just a workaround for GitHub assets since it does not allow the same name for multiple assets.

Feel free to rename it to bear and put it somewhere on your echo $PATH (echo %PATH% for Windows) or call it in-place. Don't forget to make it executable first if on GNU/Linux or MacOS with chmod +x bear.

Python package

Requirements

  • Python 3.7+ (3.6 should work too)

You can install a stable version with:

pip install https://github.com/KeyWeeUsr/Bear/zipball/stable
pip install thebear

For the cutting-edge available changes use master branch:

pip install https://github.com/KeyWeeUsr/Bear/zipball/master

Usage

There is a list of basic use-cases:

  • remove all duplicates and keep the newest (modified date) files:

    bear --duplicates folder1 folder2 ... --keep-newest
    
  • remove all duplicates and keep the oldest (modified date) files:

    bear --duplicates folder1 folder2 ... --keep-oldest
    
  • find all duplicate files within specific folders

    bear --duplicates folder1 folder2 ...
    
  • hash all files in specific folders

    bear --hash folder1 folder2 ...
    
  • traverse folders for files

    bear --traverse folder1 folder2 ...
    
  • hash specific files:

    bear --files file1 file2 ...
    

There are other, advanced options you can list with bear --help to speed up the lookup, to control the output and more.

Metadata

Release files for thebear 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for thebear 0.6.0
File Size Uploaded Provenance
thebear-0.6.0.tar.gz 26.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for thebear 0.6.0
File Interpreter ABI Platform
thebear-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 68.4 kB

Release files / thebear-0.6.0.tar.gz

Download URL thebear-0.6.0.tar.gz
Size 26.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d64bc8848fef0b44c262476f24ee2f51fb6a262d08410111ea03a51e19b4469d
BLAKE2b-256 checksum
How to use checksums
13b843b0e3e619154429cbace720c2f7e1830e3bd69b9170334e6a47fd222f5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.3

Release files / thebear-0.6.0-py3-none-any.whl

Download URL thebear-0.6.0-py3-none-any.whl
Size 41.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b03887de57050e52e55c3fb0b93f297af3d4ba8934cd63e03791cd5f9d1e8851
BLAKE2b-256 checksum
How to use checksums
0936190c3f97de6da08a26fe10805fa5a9b9ed0f80d6a4ef3d3333aa3c071067
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.3

Security for thebear 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page