1.3.3 • Published 8 years ago
@lukekarrys/organize-photos v1.3.3
organize-photos
Organize my photos and videos.
Install
CLI
npm install @lukekarrys/organize-photos -gModule
npm install @lukekarrys/organize-photos --saveWhat does this do?
- Takes a
srcdir and copies everything to adestdir - Every file copied is cleaned up with the following
- Lowercase file extension
- Removes trailing
#5and(3)from filenames
- If a file is not a recognized type it is moved to
dest/UNKNOWN - If a file has no date associated, it is moved to
dest/UNSORTED - If a file does have a date, it is moved to
dest/yyyy/mm/dd/yyyy-mm-dd hh:mm:ss.ext - Dates are found by the following
- exif
CreateDatefield - Any other exif fields passed in with
exifDate - Some special filenames like screenshots or photobooth files
- If the file is named like
yyyy-mm-dd hh?:mm?:ss? - A parent directory that is named like
yyyy-mm-dd hh?:mm?:ss?
- exif
- If no exif dates are found, but a date is found from the path, that will be written to exif data
- Files are never clobbered but instead
a-zis appended to the destination until there are no conflicts - By default, everything is a dry run (can be changed with
real) - By default,
destis never cleared but always added to (can be changed withclean) - Can optionally
moveall the files instead
LICENSE
MIT

