Skip to content

shinich39/img-to-dir

Repository files navigation

img-to-dir

Organize images to Synology Photos style.

Supported image types: jpeg, jpg, png, heic, heif, tiff, avif

Supported video types: mp4, mov

Directory structure:

  • year

    • month
      • file
  • 2024

    • 01
      • IMG_0001.jpg
      • IMG_0002.jpg
      • IMG_0003.jpg
    • 02
      • IMG_0001.jpg
      • IMG_0001.mov

Requirements

  • NodeJS

Options

  • ffmpeg (For video, Need to setup environment variables)

Installation

git clone https://github.com/shinich39/img-to-dir.git
cd ./img-to-dir
npm install

Usage

  1. Put images or directories to "/img-to-dir/input".
  2. Enter "npm start" in terminal.
  3. Check "/img-to-dir/output"

Releases

No releases published

Packages

No packages published