Skip to main content

A set of python modules to sort and clean media files

Project description

Simple Media Sorter

  • Set of Python scripts to sort and rename media files...
  • This mainly utilizes the EXIF plugin to extract metadata and perform operations accordingly.
  • Useful when working on media files from different sources like merging local and Google Photos Takeout files.
  • Please take a backup of your files before performing any action using the script!

Configuration

The scripts require source & destination folders. Configure them in the config_media_sorter.py file:

  • source_directory_para = r"C:\Users\admin\Desktop\Unsorted" #path to source folder
  • destination_directory_para = r"C:\Users\admin\Desktop\Out" #path to destination folder

Scripts

  • Copy Files.py: Copies files with specific extensions while maintaining the folder structure.
  • EXIF Search Move.py: This searches for EXIF Tag "keyword" and moves them to a sub-folder.
  • EXIF Tags Copier.py: This copies specified EXIF tags from files in the Source Directory to the Destination Directory. Files must be present in both folders with the same name.
  • EXIF Tags Extracter.py: This extracts specific EXIF tags from images & videos and stores them into a CSV file.
  • moveToFolder_IMG_VID_EXIF.py: Use this script to move image & video files to "YYYY\MMYY" folder (example 2019\0119 January). For images, the date is extracted from the EXIF tag; for videos, this date is extracted from the QuickTime tag.
  • update_EXIF_Date_fromFileName.py: Use this script to extract DateTime from file (YYYYMMDD) and update it in the EXIF.
  • update_EXIF_Dates_fromSystemDates.py: Use this script to copy SystemDate into EXIF Date tags.
  • update_File_Name_fromEXIF.py: Use this script to update filename.jpg to filename_Date_Time.jpg

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

simple_media_sorter-1.0.150.tar.gz (24.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simple_media_sorter-1.0.150-py3-none-any.whl (32.2 kB view details)

Uploaded Python 3

File details

Details for the file simple_media_sorter-1.0.150.tar.gz.

File metadata

  • Download URL: simple_media_sorter-1.0.150.tar.gz
  • Upload date:
  • Size: 24.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for simple_media_sorter-1.0.150.tar.gz
Algorithm Hash digest
SHA256 486f8e12cd78ac1e5083c7910e79f95fbe60432ea34ef18075ad14b2d6b5dab4
MD5 f63fc717cf343b5948f6b4f85af8d977
BLAKE2b-256 138a1fa25e8fe63c98be0179910bc103934ab1cae00884b665f616313675c885

See more details on using hashes here.

File details

Details for the file simple_media_sorter-1.0.150-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_media_sorter-1.0.150-py3-none-any.whl
Algorithm Hash digest
SHA256 7b2d01355de4ae9949140b9a4f6ab4bff06ac05305270f06094a0b46b1cf106b
MD5 2fa72eb6e8fba370b77fd063a8a8eeb4
BLAKE2b-256 4a542cee0d2cbf38d890a8e4f9270418d0f504b8c1f5f1ff22486b9082fd54d8

See more details on using hashes here.

Supported by

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