Tech Tip: Automaticaly Organize Your Photos by Date | Linux Today

Tech Tip: Automaticaly Organize Your Photos by Date

Written By
Web Webster
Web Webster
Oct 13, 2009

“After my digital camera fills up with pictures, usually after a
few weeks or months, I download them to my Ubuntu system. Usually
they all end up in one directory. I find it more helpful to sort
the image files by the date they were taken: most of the time I
want to geotag them and usually photos that were taken on the same
day are likely to have been taken in the same location also.

“The following short script goes through the .jpg files in the
current directory and gets the date stored within each image. It
then creates a directory corresponding to the date (in case it
doesn’t exist) in the format year/month/day (all numeric) and
copies the image into that directory. So for example, a photo
called IMG_001.jpg taken on July 4th 2009 will end up under the
path 2009/07/04/IMG_001.jpg.”


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.