Skip to main content

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

image-transfer-0.1.2.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

image_transfer-0.1.2-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file image-transfer-0.1.2.tar.gz.

File metadata

  • Download URL: image-transfer-0.1.2.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for image-transfer-0.1.2.tar.gz
Algorithm Hash digest
SHA256 eeff425cff70b0a5aed884859a6100e264c3e3020987b674122fc1c0e21b50dc
MD5 4830892c6f1a87fabef1a5621f9a1d37
BLAKE2b-256 86207b098e8eec95d9f93d16236b0f3f01c484c43f9736fea32747e9ef4cfec9

See more details on using hashes here.

File details

Details for the file image_transfer-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for image_transfer-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 128bccec1afc69ff985526ab8491ff29a4fdfa872b685db2cb919c8aff11fcb1
MD5 8a50840129d2ac64e09f4da3147e87b5
BLAKE2b-256 5d625a4b77e90880b7d5ccceb58ac0c68fbe83e54ac1a6d9122adb99f282c376

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page