https://github.com/lodestone/mediasort
Sort and tidy directories containing media (images, video)
https://github.com/lodestone/mediasort
exif media photo ruby sort video
Last synced: about 1 year ago
JSON representation
Sort and tidy directories containing media (images, video)
- Host: GitHub
- URL: https://github.com/lodestone/mediasort
- Owner: lodestone
- License: mit
- Created: 2015-03-15T02:25:16.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-03-25T19:38:44.000Z (over 2 years ago)
- Last Synced: 2024-10-01T08:17:16.074Z (over 1 year ago)
- Topics: exif, media, photo, ruby, sort, video
- Language: Ruby
- Homepage:
- Size: 37.1 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# mediasort
Tidy up directories containing media of varying types (video, image)
## More Details:
I wrote this script to move a directory full of photos just imported from SD card or camera
and sort them into subdirectories based on their creation time. So if the photo, named
DSC0001.JPG was taken on March 14th, 2015, the script would sort it into a directory like:
`2015/03/2015-03-14/DSC0001.JPG`
*`///`*
### Installation:
*This script requires exiftool but has no other dependencies besides standard libraries.*
Use brew to install exiftool:
brew install exiftool
Install the gem:
gem install mediasort
### Usage:
#### *Required Arguments*
mediasort \
--input \
--output \
--mimetype \
#### *Optional Arguments*
--no-progress # don't display an indicator of progress
--verbose # show the commands being executed
## Contributing to mediasort
* Send me a pull request.
### Copyright
Copyright (c) 2015 Matt Petty ().
See LICENSE.txt for further details.