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
  •  


Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver picture

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver

$5.40



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$24.00



Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module picture

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module

$699.99



Cisco QSFP-40/100-SRBD 100G 40GBase BiDi 100m LC Transceiver Module W/ Hologram picture

Cisco QSFP-40/100-SRBD 100G 40GBase BiDi 100m LC Transceiver Module W/ Hologram

$125.00



SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT picture

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT

$7.99



Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA picture

Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA

$28.94



HP 560SFP+ 10GB 2-port  PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+ picture

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+

$16.99



Cisco SFP-10G-SR V03 850nm 10GBASE-SR SFP+ MMF 10-2415-03 Transceiver picture

Cisco SFP-10G-SR V03 850nm 10GBASE-SR SFP+ MMF 10-2415-03 Transceiver

$4.99



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99



5 x Cisco SFP-10G-LR-S 10GBASE SFP Module converter w/ Genuine Hologram 🔥New🔥 picture

5 x Cisco SFP-10G-LR-S 10GBASE SFP Module converter w/ Genuine Hologram 🔥New🔥

$174.99