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.1.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

image_transfer-0.1.1-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: image-transfer-0.1.1.tar.gz
  • Upload date:
  • Size: 6.7 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.1.tar.gz
Algorithm Hash digest
SHA256 6bfb1299f77980f1f49e91ba8dc2dc418f312ef76885266d8f87fff7c19731f6
MD5 4a000bd959e9073597e0430a3f79e44c
BLAKE2b-256 ba8e9320a6b644a7acc097b3538eaca8ba4d6dd3baafaac695a1f07e84eb4190

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for image_transfer-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d7da14b7734f9a4c4007d1bd7df0be918ca922514927c95aa2cfeb86ae4d9d3b
MD5 1af3a4cbe0b71910d60c32707ac79eab
BLAKE2b-256 dcef7077303153a91233da3d0438ad3f2960bd014f187248724c2e7def479cd7

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