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.8.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.8-py3-none-any.whl (32.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simple_media_sorter-0.8.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.8.tar.gz
Algorithm Hash digest
SHA256 db8c839206921d3c698facebae8872b865627fda39dd106613e3d9747ff279ab
MD5 4a5592be6515463af24bac0a0fc96c9e
BLAKE2b-256 8976aaf7836943a6047cdf98b70650a015939a48e8d2e86b870b03568698eaa2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for simple_media_sorter-0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 6fdb6b75735d1e1efb9eaded4a582f7dbbcf5e6e670f44b75525b62fd41fed77
MD5 40f73133fb74f60359b9a272c43800de
BLAKE2b-256 0d569ea7ea92f34c987dd73bb716a16889e58c4dbeca2877d2e9a15a2b15b676

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