Re: sorting by time instead of filename
Carles Pina i Estany <[email protected]> Wed, 4 Apr 2007 19:52:23 +0200
| Newsgroups | gmane.comp.gnome.apps.gqview.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, On Apr/04/2007, Greg Troxel wrote: > Another approach is to use exiftool to set the mtime on the file, and > let gqview's sort-by-date do what I want: > > exiftool '-DateTimeOriginal>FileModifyDate' dir > Use the original date from the meta information to set the same > file's filesystem modification date for all images in a directory. > (Note that "-TagsFromFile @" is assumed if no other -TagsFromFile > is specified when redirecting information as in this example.) > > This could also be used to adjust clock skew, similar to qphotosort. > Probably qphotosort could grow an option to set mtime rather than create > symlinks. "spam" (sorry, but maybe it interesting for some people in this list): yes, i can do it if somebody would use :-) My experience is that mtime is frequently lost (backups, burn CD, send by mail, post to webpage, etc.). Not the name :-) Also the name has some good thing. I can have some directories: barcelona/carles barcelona/john Then: barcelona/all with the photos renamed to YYYY-MM-DD:HH:MM:SS_some suffix.JPG so, "some suffix" could be carles or john. And then I can know who shoot the photo :) (everything ordered) (end of spam) -- Carles Pina i Estany GPG id: 0x8CBDAE64 http://pinux.info Manresa - Barcelona ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV