Skip to content

tomghyselinck/sort-media-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Media File Sorter

Tool to sort all kinds of media files.

This project initially started out of two scripts:

  1. Sort media files like the Nextcloud client on an Android smartphone does.
  2. Sort restored (media) files from a broken disk/partition/file system (using Testdisk/PhotoRec)

Usage

$ python3 sort_media_files.py --help
usage: sort_media_files.py [-h] --source-files SOURCE_FILES --destination-dir
                           DEST_DIR [--move] [--separate] [--no-rename]
                           [--dryrun]

Sort image files like Nexcloud Android client does on a smartphone.

optional arguments:
-h, --help            show this help message and exit
--source-files SOURCE_FILES
--destination-dir DEST_DIR
--move
--separate
--no-rename
--dryrun

If you find this project doesn't work for you, please feel free to file an issue or PR!

To-do list

References

MediaInfo Tool and Library

This project uses MediaInfoDLL3 Python Library from MediaArea's MediaInfo:

Contributor References

Library definition:

Examples:

Wrapped Interface:

Wrapped Constants:

ExifRead

And older code part of this project also uses exifread python library:

Media tags

Alternatives

Similar projects

There are lots of similar projects available on the web. Please feel free to check out those if this script doesn't fit your needs:

Some examples:

More mature/extensive projects

About

Tool to sort all kinds of media files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages