1.0.0 • Published 6 years ago

picsort v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

picsort 📸

npm.io

Organize JPG/JPEG photos into folders by date through the command line.

Demo

npm.io

It uses node-exif to extract the created date from an image. If the exif data is not available, picsort will try to extract the created date from the filename, otherwise it will remain in the original location.

Install

Remember to install the package globally 🌎 If you are using npm, add -g

$ npm install -g picsort

If you are using yarn, add global just after yarn

$ yarn global add picsort

Usage

To sort your photos simply type picsort followed by the path to the source directory.

$ picsort ./Desktop/images

Tip: You can also drag and drop folders! (see the demo)

To see all options or an usage example in command line, add flag -h or --help

$ picsort -h
$ picsort --help

Options

Picsort will sort your photos in Year/Month order by default. However, you can specify sorting precision by adding a flag.

Use flag -d to sort photos by Year/Month/Day/.

$ picsort [path] -d

Use flag -m to sort photos by Year/Month/. This is the default option.

$ picsort [path] -m

Use flag -y to sort photos by Year/.

$ picsort [path] -y

Changelog

  • 17/10/17 version 0.1.0 released.

License

MIT License

Mateusz Janusz, 2017.

1.0.0

6 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago