picsort
v1.0.0
Published
Organize your photos into folders by date in one click!
Downloads
23
Readme
picsort 📸
Organize JPG/JPEG photos into folders by date through the command line.
Demo
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
Mateusz Janusz, 2017.