Move files to directories based on created date
Project description
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...
pip install mvdate
For now you need to clone and install.
git clone git@gitlab.com:nshephard/mvdate.git
cd mvdate
pip install .
Or you can use pip
to install directly
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/
mvdate --base ./ --destination ~/pics/ --ext png
For all options see the help
mvdate --help
Links
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
mvdate-0.0.1.tar.gz
(28.8 kB
view hashes)
Built Distribution
mvdate-0.0.1-py3-none-any.whl
(18.2 kB
view hashes)