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. The sub directory of the destination directory will be based on creation time. As default year/month/day e.g 2023/01/27.
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 format of destination directory structure.
Defaults to Y/m/d for Year/Month/Day. Directories are seperated by / and the format codes can be found here.
imgtrf copy --dir-format {dir_format} {source/directory} {destination/directory}
You can also remove empty directories.
imgtrf remove dirs {target/root/directory}
You can always find specific help with the --help flag.
# Either for the application
imgtrf --help
# Or for a specific command
imgtrf copy --help
Installation
Installation of image-transfer is simply done via a pip command.
pip install image-transfer
FFmpeg
To support gathering metadata from video files, you need to have FFmpeg installed and added to your PATH environment variable. FFmpeg can either be installed from their site ffmpeg.org
It can also be donwloaded via winget in windows or apt in linux.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file image-transfer-0.2.0.tar.gz.
File metadata
- Download URL: image-transfer-0.2.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c916b34c8f4611a60688f8add9bb98ae68c1acb43f9e5d6207e0eb6b776de720
|
|
| MD5 |
3840cca5bcefaa38fe9f19e3873c3979
|
|
| BLAKE2b-256 |
4cb2cd5e557beee3e95305b1c0b49114962dd0e1deed80f8747d9924d34064f1
|
File details
Details for the file image_transfer-0.2.0-py3-none-any.whl.
File metadata
- Download URL: image_transfer-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.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 |
fed1e0cb3275594f265d3fa75a63551fc1312ee46796490fdf969b9e36ca1f32
|
|
| MD5 |
a172b32d2b3b33ffc093f8353038d387
|
|
| BLAKE2b-256 |
1e44fc794c85ffe6419038c17da7f2182e9e17024be8e92c576f953abba0de9e
|