30 lines
693 B
JavaScript
30 lines
693 B
JavaScript
/**---------------------
|
|
* @name tykayn Rangement
|
|
* @description Rangement sorts and rename files depending on their exif data
|
|
* @contact contact@cipherbliss.com
|
|
--------------------- */
|
|
/** ---------------------
|
|
libs
|
|
--------------------- */
|
|
import fs from 'node-fs'
|
|
import minimist from 'minimist'
|
|
import log from 'loglevel'
|
|
import path from 'node:path'
|
|
/** ---------------------
|
|
custom utilities and configuration
|
|
--------------------- */
|
|
import rangement_instance from './conf/configs.js'
|
|
import finder from './utils/finder.js'
|
|
|
|
let mini_arguments
|
|
|
|
log.setLevel(rangement_instance.log_level)
|
|
log.info(' ')
|
|
|
|
|
|
|
|
|
|
finder.parseArguments()
|
|
|
|
finder.guessFileNameOnAllFilesFromArguments()
|