0.3.4 • Published 9 years ago

cluster-files v0.3.4

Weekly downloads
3
License
Unlicense
Repository
github
Last release
9 years ago

node-cluster-files

CLI that rename files of a directory based on the creation date and clusters them in monthly based subdirectories

cluster.js

  • client

cluster-core.js

  • core functionality

function: process(basepath) returns hash with source/target

  Usage: cluster-cli <path (default:current path)> [options]

  Clusters files in subdirectories based on month of creation

  Options:

    -h, --help       output usage information
    -V, --version    output the version number
    -r, --rename     also rename files [YYYY-MM-DD_HH-mm-ss]
    -o, --overwrite  overwrite if file already exists (when rename is disabeld)
    -d, --details    show detailed output
    -s, --simulate   simulate
    -y, --yes        skip prompt

example

$ ls my-path

001.jpg
002.jpg
003.jpg

$ cluster my-path
$ ls

2015-09/2015-09-04_12-31-57.jpg
2015-09/2015-09-04_13-34-01.jpg
2015-09/2015-09-11_17-31-49.jpg

todo

0.3.4

9 years ago

0.3.3

10 years ago

0.3.2

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.0

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago