-
Cataloging images under Knoppix
Hello,
This is actually more of a usability question:
I have several thousands of image files I took over the last year using my Olympus camera. The files are all named like numbers, such as IMG0003.JPG etc.
I would like to catalogue all of them, as quickly as possible, but manually. I'm looking for a way
1) to display an image and then
2) quickly type its description (=new filename) and
3) press RETURN, and
4) the file would be saved and the next image would be displayed for renaming
How would I go about accomplishing something like that with Knoppix or Linux in general?
If you have a better ideas as to how to sort my images so I could easily search them by participants or events later, please let me know.
Thank you.
-
I use jhead to rename my files.
$> jhead -nr%Y%m%d-%H%M%S ./*
I'm going off of memory, so I may have the variables wrong (i.e. wrong capitalization) but this command will take all the jpg files and convert them to something like 20031224-143059.jpg
Of course, this only works on jpg files and if you've used GIMP on any of them you effectively obliterated your exif data.
As for cataloging w/ categorical and keyword info, you'll need a multi-media database. If you find a great one under linux be sure to let me know. I've not been overly thrilled with what I've found so far.
I just found the following and it's features look promising: http://www.k-i-s.net/article.php?article=6
-
There's a demo of the software... it does look very promising, indeed! Quite an advance over gphotocoll.
-
Junior Member
registered user
Code:
for i in *
do
display $i &
read x
[ "$x" ] && mv $i $x
done
Seems the simplest way to me ...
-
This rough script might be usefull. It makes a nice html "index.htm" that will show thumbnails of all your images in the dir it is run from (also subdirectories). Maybe it can gi ve you some ideas.
#!/bin/bash
#imake dir for thumbnails
mkdir -p icons
#Find all files and store list in $picfiles
picfiles=$(find . -type f -name "*")
#start writing html file
cat <<EOD > index.htm
<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">
<html>
<head>
<title>test</title>
</head>
<body>
<h2>Click on these for a close up!</h2>
EOD
#initialize the lastdir variable
lastdir="Nuttnzzzzzzzz"
#loop through files making thumbnails of each
#and a link to it in index.htm
for matchfile in $picfiles
do
#add an s in the filename for the icon dir
outname=$(echo $matchfile |sed 's/.jpg$/s.jpg/')
#remove the ./ from the path
icdest=$(echo $outname |sed "s/^.\///")
#let the user see some progress
echo "$matchfile"
#compose and make the dir in the icons dir
newdir1=$(echo "./icons/$icdest" |sed "s/\/[^/]*$//")
mkdir -p "$newdir1"
#make the icon (thumbnail)
convert -resize 150x105 $matchfile ./icons/$icdest
#is this a new dir?
if [ $lastdir != $newdir1 ]
then
#print dir name to page when dir changes
printdir=$(echo $icdest |sed "s/\/[^/]*$//")
echo "<h3>$printdir</h3>" >>index.htm
fi
lastdir=$newdir1
#write the index point in page
echo "<a href=\"$matchfile\"" >>index.htm
echo "target=_blank ONCLICK=\"window.open(" >>index.htm
echo "'$matchfile'); return false\" ><img src=" >>index.htm
echo "\"./icons/$icdest\" border=\"0\"></a>" >>index.htm
done
#finish writing html file
echo "</body></html>" >> index.htm
Similar Threads
-
By Crenn in forum Hardware & Booting
Replies: 3
Last Post: 04-01-2005, 12:38 AM
-
By DelNorte in forum General Support
Replies: 1
Last Post: 03-22-2005, 07:27 AM
-
By zlibre in forum General Support
Replies: 2
Last Post: 10-08-2004, 03:00 AM
-
By knoppixnewbie in forum General Support
Replies: 2
Last Post: 02-19-2004, 05:58 AM
-
By knoppixnewbie in forum General Support
Replies: 2
Last Post: 02-17-2004, 04:13 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![Fortinet FortiGate 60F | 10 Gbps Firewall Network Security EXPIRED (FG-60F)- New picture](/store/img/g/raUAAOSwJYhjzwg-/s-l225/Fortinet-FortiGate-60F-10-Gbps-Firewall-Network-Se.jpg)
Fortinet FortiGate 60F | 10 Gbps Firewall Network Security EXPIRED (FG-60F)- New
$226.79
![Cisco ASA5525-X 8-Port Firewall Adaptive Security Appliance *USED* picture](/store/img/g/okkAAOSw3mVmgtUD/s-l225/Cisco-ASA5525-X-8-Port-Firewall-Adaptive-Security-.jpg)
Cisco ASA5525-X 8-Port Firewall Adaptive Security Appliance *USED*
$55.00
![Fortinet Fortigate FG-61E Firewall Network Security Appliance ATP Bundle 1 years picture](/store/img/g/nH4AAOSwvpJlnbt9/s-l225/Fortinet-Fortigate-FG-61E-Firewall-Network-Securit.jpg)
Fortinet Fortigate FG-61E Firewall Network Security Appliance ATP Bundle 1 years
$263.99
![Lanner NCA-1010B 3 Port Fanless Mini OPNsense Firewall E3825 4GB RAM 32GB SSD picture](/store/img/g/pK8AAOSwRQxj4nuu/s-l225/Lanner-NCA-1010B-3-Port-Fanless-Mini-OPNsense-Fire.jpg)
Lanner NCA-1010B 3 Port Fanless Mini OPNsense Firewall E3825 4GB RAM 32GB SSD
$99.95
![Cisco ASA 5506-X Network Security Firewall w/ AC Adapter picture](/store/img/g/N3IAAOSwrbNmfskh/s-l225/Cisco-ASA-5506-X-Network-Security-Firewall-w-AC-Ad.jpg)
Cisco ASA 5506-X Network Security Firewall w/ AC Adapter
$39.99
![Fortinet Fortigate-60E Network Security Firewall FG-60E Power Cord Locked / Used picture](/store/img/g/zxQAAOSwXJlmYo0W/s-l225/Fortinet-Fortigate-60E-Network-Security-Firewall-F.jpg)
Fortinet Fortigate-60E Network Security Firewall FG-60E Power Cord Locked / Used
$58.90
![pfSense Firewall VPN AES-NI Celeron N3350 1.10GHz 10GB RAM 80GB SSD 5x Intel NIC picture](/store/img/g/ObkAAOSwQuhi9bAX/s-l225/pfSense-Firewall-VPN-AES-NI-Celeron-N3350-1-10GHz-.jpg)
pfSense Firewall VPN AES-NI Celeron N3350 1.10GHz 10GB RAM 80GB SSD 5x Intel NIC
$91.00
![Firewall PFSense Untangle OpenSense picture](/store/img/g/OaUAAOSwJGpmhaPj/s-l225/Firewall-PFSense-Untangle-OpenSense.jpg)
Firewall PFSense Untangle OpenSense
$100.00
![Fortinet Fortigate FG201E Security Firewall w/ Power Cable picture](/store/img/g/RjEAAOSwSVlmb9C8/s-l225/Fortinet-Fortigate-FG201E-Security-Firewall-w-Powe.jpg)
Fortinet Fortigate FG201E Security Firewall w/ Power Cable
$249.00
![Firewalla Blue Plus picture](/store/img/g/d0gAAOSwU~tmiMM8/s-l225/Firewalla-Blue-Plus.jpg)
Firewalla Blue Plus
$84.00