Metadata-Version: 2.1
Name: mvdate
Version: 0.0.1
Summary: Move files to directories based on created date
Author-email: Neil Shephard <nshephard@gmail.com>
License: GNU Lesser GPLv3 only
Project-URL: Source, https://gitlab.com/nshephard/mvdate
Project-URL: Bug_Tracker, https://gitlab.com/nshephard/mvdate/issues
Keywords: files,date
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: COPYING
Requires-Dist: loguru
Requires-Dist: tqdm
Requires-Dist: pyfiglet
Provides-Extra: dev
Requires-Dist: Flake8-pyproject ; extra == 'dev'
Requires-Dist: black ; extra == 'dev'
Requires-Dist: flake8 ; extra == 'dev'
Requires-Dist: flake8-print ; extra == 'dev'
Requires-Dist: pre-commit ; extra == 'dev'
Requires-Dist: pylint ; extra == 'dev'
Requires-Dist: pyupgrade ; extra == 'dev'
Requires-Dist: pytest-durations ; extra == 'dev'
Requires-Dist: pytest-xdist ; extra == 'dev'
Provides-Extra: docs
Requires-Dist: Sphinx ; extra == 'docs'
Requires-Dist: myst-parser ; extra == 'docs'
Requires-Dist: numpydoc ; extra == 'docs'
Requires-Dist: pydata-sphinx-theme ; extra == 'docs'
Requires-Dist: sphinx-autoapi ; extra == 'docs'
Requires-Dist: sphinx-autodoc-typehints ; extra == 'docs'
Requires-Dist: sphinx-multiversion ; extra == 'docs'
Requires-Dist: sphinx-markdown-tables ; extra == 'docs'
Requires-Dist: sphinx-rtd-theme ; extra == 'docs'
Requires-Dist: sphinxcontrib-mermaid ; extra == 'docs'
Requires-Dist: sphinxcontrib-napoleon ; extra == 'docs'
Provides-Extra: pypi
Requires-Dist: build ; extra == 'pypi'
Requires-Dist: wheel ; extra == 'pypi'
Requires-Dist: setuptools-scm[toml] ; extra == 'pypi'
Provides-Extra: tests
Requires-Dist: py ; extra == 'tests'
Requires-Dist: pytest ; extra == 'tests'
Requires-Dist: pytest-cov ; extra == 'tests'
Requires-Dist: pytest-mpl ; extra == 'tests'
Requires-Dist: pytest-tmp-files ; extra == 'tests'
Requires-Dist: filetype ; extra == 'tests'

[![PyPI version](https://badge.fury.io/py/mvdate.svg)](https://badge.fury.io/py/mvdate)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mvdate)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Code style: flake8](https://img.shields.io/badge/code%20style-flake8-456789.svg)](https://github.com/psf/flake8)
[![Downloads](https://static.pepy.tech/badge/mvdate)](https://pepy.tech/project/mvdate)
[![Downloads](https://static.pepy.tech/badge/mvdate/month)](https://pepy.tech/project/mvdate)
[![Downloads](https://static.pepy.tech/badge/mvdate/week)](https://pepy.tech/project/mvdate)
[![Donate](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/slackline/donate)

# mvdate

A Python package to search for files and move them to a directory structure based on date.

## Motivation

I keep my pictures in a hierarchical data structure of `YYYY/MM/DD` but that isn't how my camera stores them. I wanted
an easy way to copy/move files to this structure.

## Installation

In due course I will release to PyPI at which point it will be possible to...

``` bash
pip install mvdate
```

For now you need to clone and install.

``` bash
git clone git@gitlab.com:nshephard/mvdate.git
cd mvdate
pip install .
```

Or you can use `pip` to install directly

``` bash
pip install mvdate@git+https://gitlab.com/nshephard/mvdate.git@main
```

## Usage

To search the current directory for files ending with `png` and move them to `~/pics/YYYY/MM/DD/`

``` bash
mvdate --base ./ --destination ~/pics/ --ext png
```

For all options see the help

``` bash
mvdate --help
```

## Links
