Segregate Photos on date in such structure: Year | |->Month | |->phone1.jpg |->phone2.jpg |->phone3.jpg Examples: 2017 | | -> 09 | | -> photos1.jpg | -> photos2.jpg Useful commands: ls cat for loop echo