Thanks to visit codestin.com
Credit goes to github.com

Skip to content

An organization tool for placing photos in a year-month-day directory hierarchy based on the meta-data of each photo

License

coreyjonoliver/org-photos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

org-photos

Corey Oliver, 2010-2011

This tool allows for the organization of a directory of images into a year-month-day directory hierarchy based on the meta-data of each image. Non-image files or images files containing no DateTime attribute are ignored.

Requirements

  • Python
  • argparse

argparse is included in the 2.7 and 3.2 distributions of Python. If you do not have either of these versions the recommended way to obtain argparse is with the tool pip: pip install argparse.

Usage

org-photos [-h] [-w] directory

directory the directory to organize

-w request warnings

Example:

If the meta-data for a image in the directory foo contains a DateTime attribute of "1-30-2010", then upon running org-photos foo the following directory structure is created in the foo directory (if it does not already exist): 2010/1/30. The image is then copied into the directory 2010/1/30.

License

Copyright (c) 2011, Corey Oliver, [email protected]

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

About

An organization tool for placing photos in a year-month-day directory hierarchy based on the meta-data of each photo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages