How To Reorganize your pictures based on Exif data (into folders)

Hi ,
Its often good Idea to reorganize your pictures (images) into folders based on date when its taken.
I have written a small python script which does nothing but displays a command suggestion to move your files in directories.

Here is script

How To Use

Lets say you have saved above script in a file
so if your execute this script
$./ filename m
this will print the month and year part of the date when this picture is taken.
so based on your need (whether you want to achieve yearly/monthly or daily) chose the right option.

Sample output

If you use this script  with find command it will recursively print the command suggestion for all file. Save this output in a file and execute like a shell script (or batch file if you are on windows).

Here is command to get the monthly archival command-list
$find . -name *.JPG -type f -exec ./ {} m \;

1.make sure that there is a space after m and \;
2.If you are on windows u need cygwin for find comand.
3.this python script uses PIL library (so you need python and PIL library)

Sample output with find command

(Note: Install PIL on you machine here

1 comment:

  1. Cams are easy gadgets that pull the undercut mould surfaces away from the part, permitting the mould to open. The most typical type of cam system makes use of an angled pin to regulate the motion of the motion, which opens and closes on the same speed as relaxation of|the the rest of} the mould. Cams permit for much larger geometric complexity in part design with out requiring any additional exterior setup or changes from operators during manufacturing. Design features that impede the power of a part to launch from its mould alongside the road of draw are called undercuts — however they aren’t essentially one thing that must be averted. Before a part with undercut features may be released, the portion of the mould that creates the undercut should first hp stylus pen be removed.


Your comment will inspire me, Please leave your comment