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
Built Distribution
File details
Details for the file mvdate-0.0.1.tar.gz
.
File metadata
- Download URL: mvdate-0.0.1.tar.gz
- Upload date:
- Size: 28.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1f6517273de9ea34c84a7aa4a9362b19aa1e7e34f8e4ddc2553fab7a3c2dff0 |
|
MD5 | 83adbbf725cb955702506c0b738b346b |
|
BLAKE2b-256 | 9e46cf4afbdefa0d4d86b2d5af9ea2f2034c9acb9490b9e5b92e7b7f99af1886 |
File details
Details for the file mvdate-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: mvdate-0.0.1-py3-none-any.whl
- Upload date:
- Size: 18.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c9022da1d02bed6007b5985b6a84381481a0ee0b73ae0e7ee2f4b6f77af3559 |
|
MD5 | ff782168a0690d5f2acf4e876431b748 |
|
BLAKE2b-256 | 88e9932551248d624e902f84418ba6fb0221db250eb71935058bcbfdd8a397e3 |