remediator-cli
v0.1.1
Published
Node command line application to sort images and video based off of their filesystem metadata or exif/media metadata formatted from a predefined or custom template.
Downloads
3
Maintainers
Readme
Remediator-CLI
Command-line Application to sort images and video based off of their filesystem metadata or exif/media metadata formatted from a predefined or custom template.
Installation
Installation assumes you have already installed v8.5.0 or greater of Node.js. If you have not done this, or do not know how to, please follow the directions at https://nodejs.org/.
Get Remediator-CLI
Open your CLI of choice with Node v8.5.0 or greater installed and run the following to install Remediator-CLI.
$ npm install remediator-cli -g
Usage
Remediator-CLI is a simple to use command-line application that accepts a range of options to sort your media. Note: First run of Remediator-CLI may take slightly longer as Exiftool will be automatically downloaded to your computer.
Remediator-CLI Options
Basic Demo - No options
Basic Demo - Copy
Basic Demo - Move
Building Format Templates
Format templates are used to define file output structure. :
's are used to denote the start and end of a transformer section. Remediator will replace the first "transformer" it encounters in a section. If the first transformer found is empty everything between the :
's will not be added to the filename.
For example, if you have a format of :YYYY::-Make-:.:Ext:
and a image named image.jpg
that was taken in the year 2000 but does NOT have any metadata for the device make the output would be: 2000.jpg
. However, if image.jpg
did have a device make of "Sony" the output would be: 2000-Sony-.jpg
.
The following tables list all currently supported "transformers" by Remediator-CLI.
Transformers
Date based
Time based
Device Based
File Metadata Based
Acknowledgements
Remediator-CLI would not be possible without Exiftool by Phil Harvey. Please consider donating!
Additionally, big thanks to Adobe Systems for allowing work on the original prototype of Remediator during a Hackathon.