Metadata-Version: 2.1
Name: thebear
Version: 0.5.0
Summary: Bear - the decluttering deduplicator
Home-page: https://github.com/KeyWeeUsr/Bear
Author: Peter Badida
Author-email: keyweeusr@gmail.com
License: UNKNOWN
Download-URL: https://github.com/KeyWeeUsr/Bear/zipball/0.5.0
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Operating System :: OS Independent
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: System Administrators
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Utilities
Classifier: Typing :: Typed
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: ensure
Provides-Extra: ci
Requires-Dist: coveralls ; extra == 'ci'
Provides-Extra: dev
Requires-Dist: pycodestyle ; extra == 'dev'
Requires-Dist: pylint ; extra == 'dev'
Requires-Dist: coverage ; extra == 'dev'
Requires-Dist: radon ; extra == 'dev'
Provides-Extra: dev_graph
Requires-Dist: pycodestyle ; extra == 'dev_graph'
Requires-Dist: pylint ; extra == 'dev_graph'
Requires-Dist: coverage ; extra == 'dev_graph'
Requires-Dist: radon ; extra == 'dev_graph'
Requires-Dist: wily ; extra == 'dev_graph'
Provides-Extra: release
Requires-Dist: pycodestyle ; extra == 'release'
Requires-Dist: pylint ; extra == 'release'
Requires-Dist: coverage ; extra == 'release'
Requires-Dist: radon ; extra == 'release'
Requires-Dist: coveralls ; extra == 'release'
Requires-Dist: setuptools ; extra == 'release'
Requires-Dist: wheel ; extra == 'release'
Requires-Dist: twine ; extra == 'release'
Requires-Dist: pyinstaller ; extra == 'release'
Requires-Dist: requests ; extra == 'release'

# Bear

The decluttering deduplicator.

[![Coverage](https://coveralls.io/repos/KeyWeeUsr/Bear/badge.svg?branch=master)
](https://coveralls.io/r/KeyWeeUsr/Bear?branch=master)
[![Build](https://travis-ci.org/KeyWeeUsr/Bear.svg?branch=master)
](https://travis-ci.org/KeyWeeUsr/Bear)
[![GitHub version](https://badge.fury.io/gh/keyweeusr%2Fbear.svg)
](https://badge.fury.io/gh/keyweeusr%2Fbear)
[![PyPI version](https://img.shields.io/pypi/v/thebear.svg)
](https://pypi.org/project/thebear/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/thebear.svg)
](https://pypi.org/project/thebear/)
[![Latest release deps](https://img.shields.io/librariesio/release/pypi/thebear.svg)
](https://libraries.io/pypi/thebear)
[![GitHub repo deps](https://img.shields.io/librariesio/github/keyweeusr/bear.svg)
](https://libraries.io/pypi/thebear)

[![Downloads total](https://pepy.tech/badge/thebear)
](https://pepy.tech/project/thebear)
[![Downloads month](https://pepy.tech/badge/thebear/month)
](https://pepy.tech/project/thebear)
[![Downloads week](https://pepy.tech/badge/thebear/week)
](https://pepy.tech/project/thebear)
[![All Releases](https://img.shields.io/github/downloads/keyweeusr/bear/total.svg)
](https://github.com/KeyWeeUsr/bear/releases)
[![Code bytes](https://img.shields.io/github/languages/code-size/keyweeusr/bear.svg)
](https://github.com/KeyWeeUsr/bear)
[![Repo size](https://img.shields.io/github/repo-size/keyweeusr/bear.svg)
](https://github.com/KeyWeeUsr/bear)

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](https://riot.im/app/#/group/+bear:matrix.org)

## Installation

Currently there is a Python module installation available, and some
platform-specific releases. Check the assets in the GitHub [releases](
https://github.com/KeyWeeUsr/Bear/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.


