Re: Crash
- From: houghi <houghi@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 29 Mar 2006 11:38:04 +0200
Lawrence D'Oliveiro wrote:
Currently I'm trying to use xzgv to try to bring some order to those
images. Its tagging function is useful, but having to type in the
complete path to the destination directory for a move every time is
getting a bit wearying. Also there doesn't seem to be an option to apply
an arbitrary shell command to the set of tagged images.
What kind of tagging are you talking about?
Look below if it is the info in the pictures itself.
Any suggestions for another image-management app to try?
First you need to know HOW you want to sort them. I have some
wallpapers:
[11:14:54] [~/wallpaper]
houghi@penne : find . -name "*.jpg"|wc -l
26638
So first decide what you want to sort on. Is it size, subject, name,
date, ...
Now imagine that you took the pictures yourself with a digital camera.
What I would do is sort on date. The date a picture is taken can be
gotten with `identify`. Install ImageMagick.
Something like this:
houghi@penne : identify -verbose PICT3435.JPG|grep "Date Time:"
Date Time: 2005:09:03 06:04:08.
That way you can make directories of dates and place the pictures in it:
That would go something like:
#!/bin/bash
for PICTURE in *
do
#Get the date
DATE=` identify -verbose $PICTURE | grep "Date Time:" | \
awk '{print $3}'|sed -e "s/:/_/g"`
# See if the directory exists and if not, make it
test -d $DATE && mkdir $DATE
#Move the picture to the directory
mv $PICTURE $DATE/.
# something to look at
echo "$PICTURE moved to $DATE"
done
This is dirty untested code. It will most likely not work if you have
strange caracters in your filenames. It also will not be the fastest
way.
You can also look at different other things, like the camera name and
such (see file:///usr/share/doc/packages/ImageMagick/www/identify.html
for more info) You can differentiate between portrait and landscape, by
size, ...
Once you have declutterd the pictures, it will be a lot easier to filter
manually with F-spot. I myself use JAlbum to make php pages.
You can then look at one directory, and because it is on one day, you
can easily rename the directory to whatever went on on that day. This
will make it easier again to regroup them.
--
houghi Please do not toppost http://houghi.org
Roses are #FF0000, Violets are #0000FF,
All my base are belong to you. Happy Valentine.
.
- Follow-Ups:
- Re: Crash
- From: Lawrence D'Oliveiro
- Re: Crash
- References:
- Crash
- From: Lawrence D'Oliveiro
- Crash
- Prev by Date: Re: After KDE update: YAST can't be reached
- Next by Date: Re: Crash
- Previous by thread: Crash
- Next by thread: Re: Crash
- Index(es):
Relevant Pages
|