Results 1 to 5 of 5

Thread: Cataloging images under Knoppix

  1. #1
    Junior Member
    Join Date
    Dec 2003
    Posts
    5

    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.

  2. #2
    Junior Member
    Join Date
    Aug 2003
    Posts
    5
    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

  3. #3
    Junior Member
    Join Date
    Aug 2003
    Posts
    5
    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.

  4. #4
    Junior Member registered user
    Join Date
    Oct 2003
    Posts
    18
    Code:
    for i in *
    do 
    	display $i &
    	read x
    	[ "$x" ] && mv $i $x
    done
    Seems the simplest way to me ...

  5. #5
    Junior Member
    Join Date
    Feb 2004
    Posts
    2
    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

  1. Replies: 3
    Last Post: 04-01-2005, 12:38 AM
  2. Burning DVD images using Knoppix!
    By DelNorte in forum General Support
    Replies: 1
    Last Post: 03-22-2005, 07:27 AM
  3. How can I copy images .mdf .mds!!
    By zlibre in forum General Support
    Replies: 2
    Last Post: 10-08-2004, 03:00 AM
  4. How do you view images in Knoppix
    By knoppixnewbie in forum General Support
    Replies: 2
    Last Post: 02-19-2004, 05:58 AM
  5. Viewing images in knoppix
    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
  •  


Fortinet FortiGate 60F | 10 Gbps Firewall Network Security EXPIRED (FG-60F)- New picture

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

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

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

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

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

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

pfSense Firewall VPN AES-NI Celeron N3350 1.10GHz 10GB RAM 80GB SSD 5x Intel NIC

$91.00



Firewall PFSense Untangle OpenSense picture

Firewall PFSense Untangle OpenSense

$100.00



Fortinet Fortigate FG201E Security Firewall w/ Power Cable picture

Fortinet Fortigate FG201E Security Firewall w/ Power Cable

$249.00



Firewalla Blue Plus picture

Firewalla Blue Plus

$84.00