Skip to main content

A set of python modules to sort and clean media files

Project description

Simple Media Sorter

SMS

  • 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-0.9.tar.gz (24.6 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-0.9-py3-none-any.whl (32.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simple_media_sorter-0.9.tar.gz
  • Upload date:
  • Size: 24.6 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-0.9.tar.gz
Algorithm Hash digest
SHA256 c311d90a5044ce1d6f107064a1c2c22929ef4406f47bb252d4db33c560f5aded
MD5 259fcf73ee271a49e56ba2ecbde983dd
BLAKE2b-256 0421f1e156c9bae96be9c1b269fd06b9e8a508f7ced0b8fba4577456cffa3d58

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for simple_media_sorter-0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 d7f2f8755d78497ff1d35e49711208432616967d8fa56230bb1aace2e65eb420
MD5 03ab840ada5c1ae7347dcd12125bfb4a
BLAKE2b-256 c9828c343cf6829d8e0f339864e717fc98ee1da289a398cae028aba67bee6848

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