https://github.com/langurmonkey/mediaorganiser-py
Script to organize photos and videos into directories in the form of YYYY/MM/.
https://github.com/langurmonkey/mediaorganiser-py
Last synced: 5 months ago
JSON representation
Script to organize photos and videos into directories in the form of YYYY/MM/.
- Host: GitHub
- URL: https://github.com/langurmonkey/mediaorganiser-py
- Owner: langurmonkey
- License: gpl-3.0
- Created: 2024-11-08T08:17:03.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-08T08:17:38.000Z (over 1 year ago)
- Last Synced: 2025-06-18T02:42:38.866Z (about 1 year ago)
- Language: Python
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mediaorganiser
This little dumb python script organises a bunch of photos and videos into folders with the format `./YYYYMM`.
It scans the files and tries to work out the creation date from:
- The file name (with or without prefixes)
- The EXIF data (JPEG, TIFF, GIF, PNG, BMP, DNG)
- RAW file data (RW2, CR2)
- The file system metadata
If the script can't work out the date, then it copies the file to an `./undated` folder.
## Installation
Just install the dependencies:
```
$ pip install -r requirements.txt
```
## Usage
``
mediaorganiser -d DIR
``
The date folders will be created in the given directory. The script is not recursive, only the files directly into the given directory will be treated.