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.
Metadata
Release files for image-transfer 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| image-transfer-0.2.0.tar.gz | 8.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| image_transfer-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.1 kB
Release files / image-transfer-0.2.0.tar.gz
| Download URL | image-transfer-0.2.0.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c916b34c8f4611a60688f8add9bb98ae68c1acb43f9e5d6207e0eb6b776de720
|
|
BLAKE2b-256 checksum How to use checksums |
4cb2cd5e557beee3e95305b1c0b49114962dd0e1deed80f8747d9924d34064f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / image_transfer-0.2.0-py3-none-any.whl
| Download URL | image_transfer-0.2.0-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fed1e0cb3275594f265d3fa75a63551fc1312ee46796490fdf969b9e36ca1f32
|
|
BLAKE2b-256 checksum How to use checksums |
1e44fc794c85ffe6419038c17da7f2182e9e17024be8e92c576f953abba0de9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|