Transfer images and videos from one directoy to another with new folder structure by date
Project description
Image Transfer
Basic package to transfer images and videos into a date structure.
This package looks through both images and videos for creation time metadata. If found it can copy or move the files from a source directory to a destination directory where it will create a new folder structure following below format.
YYYY / MM / DD
YYYY: Year as in '2023'
MM: Month as in '01' for January
DD: Day as in '02' for second day in the month
Usage
Copy from one directory to another
imgtrf copy {source/directory} {destination/directory}
Move from one directory to another
imgtrf move {source/directory} {destination/directory}
Change 'depth' of destination folder structure
imgtrf copy --date-level=month {source/directory} {destination/directory}
Installation
Installation is done via PyPI
pip install image-transfer
To support gathering metadata from videos you need to have FFmpeg installed and added to your PATH environment variable. FFmpeg can either be installed from their site ffmpeg.org or via winget
winget install --id Gyan.FFmpeg
or if on linux
sudo apt install ffmpeg
Make sure to check your environment variables. Some times even a restart of your computer is necessary for them to be read in properly.
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 image-transfer-0.1.0.tar.gz
.
File metadata
- Download URL: image-transfer-0.1.0.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c895bff50f79ca47132bc0400f130c50c419ef87a7f2f3560acc1c5eb9b6460f |
|
MD5 | 7bf6e262d7b02aa7f2b4cf11169fec8d |
|
BLAKE2b-256 | 49dc352552ed1ee1ac5de6877dbe547cb55f5193be774dfc6f599db7bb7bf82a |
File details
Details for the file image_transfer-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: image_transfer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 974fcc0e053f00ff40c4d92354098a7a7910f7f9ee18fb3b43f586671592fa1a |
|
MD5 | d13e7f489a2d521b75d4250da68e049e |
|
BLAKE2b-256 | d31d77e7a82a337d3cc84f29e716068950252da48b6997646d99318ac97b4196 |