qaraluch / qt-fotoMgmt

(DEPRECATED) Gulp tasks package for my photo management.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logo-qm

qt-fotoMgmt (DEPRECATED) code style: prettier

Node.js script for automating and managing photos build on top of gulpjs.

preview

Installation

$ git clone https://github.com/qaraluch/qt-fotoMgmt.git qt-fotoMgmt

Configuration

Set up paths in paths.json file for input and output directory configuration. Script uses QT_FOTOMGMT enviroment variable with prod value to use above mentioned path file. Otherwise, it uses paths-dev.json for development process. Use paths-reference.json file as reference.

Usage

To run specific task type in console:

gulp -f <gulpFile> <task> --silent

List of gulp files with their tasks:

  • qt-cu-backup - run it for temporary backup photos for time of manipulate photos (default task).

  • qt-cu-backup removeBackups - deletes temporary backup files.

  • qt-cu-presort - preliminary renaming photos

  • qt-tool-normalizeName - normalize photos date in the name in the cwd. Normalize form cwd. Rename in place. No dependant on enviroment variable: QT_FOTOMGMT.

    --path - pass in different path to working dir

    Example: gulp -f qt-tool-normalizeNames.js --silent --path <pathToWorkingDir>

  • qt-tool-renameAfterDir - add paretn dir name to the name of the foto. Normalize form cwd. Rename in place. No dependant on enviroment variable: QT_FOTOMGMT.

    --path - pass in different path to working dir

    Example: gulp -f qt-tool-renameAfterDir.js --silent --path <pathToWorkingDir>

License

MIT © qaraluch

About

(DEPRECATED) Gulp tasks package for my photo management.


Languages

Language:JavaScript 100.0%