dcim-orgnzr
v1.0.2
Published
Organize images according to their EXIF data
Downloads
4
Readme
dcim-orgnzr
Organize your picture library according to EXIF data.
Usage
dcim-orgnzr --path='./dcim' --pattern='<exif.CreateDate:YYYY>/<exif.CreateDate:MM>'
Setup
Install simply using NPM: npm install dcim-orgnzr
.
You can also clone this repository and build it yourself.
Options
| Argument | Alias | Type | Description | |-|-|-|-| | path | | string | Path where images are located | | dryRun | | boolean | Not apply modifications | | skipBackupScript | | boolean | Avoid to generate the backup script | | pattern | p | string | Pattern | | help | h | boolean | Prints this usage guide |
Patterns
exif.ApertureValue
- <exif.ApertureValue>
+ 1.85/test.jpg
exif.BrightnessValue
- <exif.BrightnessValue>
+ 6.9/test.jpg
exif.ColorSpace
- <exif.ColorSpace>
+ 1/test.jpg
exif.CreateDate
Parse the date and format according to format given (see https://day.js.org/docs/en/display/format for formatting)
- <exif.CreateDate:YYYY>/<exif.CreateDate:MM>
+ 2021/02/test.jpg
exif.DateTimeOriginal
Parse the date and format according to format given (see https://day.js.org/docs/en/display/format for formatting)
- <exif.DateTimeOriginal:YYYY>/<exif.DateTimeOriginal:MM>
+ 2021/02/test.jpg
exif.ExifImageHeight
- <exif.ExifImageHeight>
+ 3096/test.jpg
exif.ExifImageWidth
- <exif.ExifImageWidth>
+ 4128/test.jpg
exif.ExposureCompensation
- <exif.ExposureCompensation>
+ 0/test.jpg
exif.ExposureProgram
- <exif.ExposureProgram>
+ 2/test.jpg
exif.ExposureTime
- <exif.ExposureTime>
+ 0.0029239766081871343/test.jpg
exif.FNumber
- <exif.FNumber>
+ 1.9/test.jpg
exif.Flash
- <exif.Flash>
+ 0/test.jpg
exif.FocalLength
- <exif.FocalLength>
+ 3.7/test.jpg
exif.FocalLengthIn35mmFormat
- <exif.FocalLengthIn35mmFormat>
+ 28/test.jpg
exif.ISO
- <exif.ISO>
+ 64/test.jpg
exif.InteropOffset
- <exif.InteropOffset>
+ 3186/test.jpg
exif.LightSource
- <exif.LightSource>
+ 0/test.jpg
exif.MaxApertureValue
- <exif.MaxApertureValue>
+ 1.85/test.jpg
exif.MeteringMode
- <exif.MeteringMode>
+ 2/test.jpg
exif.SceneCaptureType
- <exif.SceneCaptureType>
+ 0/test.jpg
exif.SensingMethod
- <exif.SensingMethod>
+ 0/test.jpg
exif.ShutterSpeedValue
- <exif.ShutterSpeedValue>
+ 8.41/test.jpg
exif.WhiteBalance
- <exif.WhiteBalance>
+ 0/test.jpg
gps.GPSDateStamp
Parse the date and format according to format given (see https://day.js.org/docs/en/display/format for formatting)
- <gps.GPSDateStamp:YYYY>/<gps.GPSDateStamp:MM>
+ 2021/02/test.jpg
image.ExifOffset
- <image.ExifOffset>
+ 240/test.jpg
image.ImageHeight
- <image.ImageHeight>
+ 3096/test.jpg
image.ImageWidth
- <image.ImageWidth>
+ 4128/test.jpg
image.Make
- <image.Make>
+ samsung/test.jpg
image.Model
- <image.Model>
+ cSM-J510FN/test.jpg
image.ModifyDate
Parse the date and format according to format given (see https://day.js.org/docs/en/display/format for formatting)
- <image.ModifyDate:YYYY>/<image.ModifyDate:MM>
+ 2021/02/test.jpg
image.Orientation
- <image.Orientation>
+ 6/test.jpg
image.ResolutionUnit
- <image.ResolutionUnit>
+ 2/test.jpg
image.Software
- <image.Software>
+ J510FNXXU2BRE4/test.jpg
image.XResolution
- <image.XResolution>
+ 72/test.jpg
image.YCbCrPositioning
- <image.YCbCrPositioning>
+ 1/test.jpg
image.YResolution
- <image.YResolution>
+ 72/test.jpg
thumbnail.Compression
- <thumbnail.Compression>
+ 6/test.jpg
thumbnail.ImageHeight
- <thumbnail.ImageHeight>
+ 384/test.jpg
thumbnail.ImageWidth
- <thumbnail.ImageWidth>
+ 512/test.jpg
thumbnail.Orientation
- <thumbnail.Orientation>
+ 6/test.jpg
thumbnail.ResolutionUnit
- <thumbnail.ResolutionUnit>
+ 2/test.jpg
thumbnail.ThumbnailLength
- <thumbnail.ThumbnailLength>
+ 32987/test.jpg
thumbnail.ThumbnailOffset
- <thumbnail.ThumbnailOffset>
+ 3424/test.jpg
thumbnail.XResolution
- <thumbnail.XResolution>
+ 72/test.jpg
thumbnail.YResolution
- <thumbnail.YResolution>
+ 72/test.jpg
Markdown Generated by ts-command-line-args