Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jul 2010 13:31:58 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Steve Franks <bahamasfranks@gmail.com>
Cc:        freebsd-hackers <freebsd-hackers@freebsd.org>
Subject:   Re: thoughts on sorting files into sub-folders by access date?
Message-ID:  <alpine.BSF.2.00.1007011328250.84168@wonkity.com>
In-Reply-To: <AANLkTilntk8nw4bORlA-E3Wc96NwFUdjhlnqla-xcx92@mail.gmail.com>
References:  <AANLkTilntk8nw4bORlA-E3Wc96NwFUdjhlnqla-xcx92@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 1 Jul 2010, Steve Franks wrote:

> My high-end point&shoot camera likes to glob all my photos in a single
> folder, and it's glutting up my drive, and makes finding a specific
> trip unpleasant, with no good place for metadata.  My SLR sorts them
> into folders by date, which I love.
>
> I can't find anything close googling, so I d/l a bunch of perl
> examples.  Before I figure this out in python (I'm a hardware
> developer by trade, so that seems most sensible [libc doesn't seem to
> have any os-agnostic way of playing with file times, no?])...
>
> I thought I'd check if there's some trivially simple way of doing this
> with bash & find first.

The EXIF data is a better source for the date.  graphics/py-exif, for 
example.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1007011328250.84168>