Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: How do YOU scroll through hundreds of photos & move good ones to a separate folder?

  1. #1
    Join Date
    Aug 2010
    Beans
    407
    Distro
    Ubuntu 10.04 Lucid Lynx

    How do YOU scroll through hundreds of photos & move good ones to a separate folder?

    I'm relatively new to Ubuntu and am just trying to get basic functionality without having to punt back to Windows applications on Wine (such as Irfanview).

    All I want to do is step through photos (by pressing a key, such as the space bar) to view & then press a keyclick to move the good ones to a separate folder.

    This is so fundamental that I must assume there must be software in Ubuntu which can accomplish those two simple tasks (step through a folder and move a file to another folder).

    Yet, I have The Gimp, GNU Paint, Krita, KSnapshot, XFig, XPaint, etc., and none of them appear to have this basic functionality (which Irfanview has, but on Windows).

    What program can view and easily MOVE the photo to a stated directory in a single keystroke?

    Note: All the programs can "open a file" and "save as" but this is NOT the desired fundamental operation. The fundamental operation is:
    - Press a key (spacebar would be nice) to scroll to the next photo in a folder
    - Press another key combination ("control + m" would be nice) to move the photo to a stated folder
    - The "index" should NOT be reset (that is, the next spacebar should show the next photograph in the folder, not jump back, perhaps hundreds of photos, to the first photo as The Gimp does, for example, after a save).
    - It's ok to set the move-to folder the first time, but it should not ask each and every time which folder as it should be the default for the move command after the first move.

    Note: I also tried making the icons in the Nautilus browser huge and then control-click selecting the good ones, but that makes ALL icons at all times huge, and the scroll in Nautilus is atrocious, so, in effect, that was a failure. I need a graphic program that performs this simple task.

    This is so fundamental of a need (to scroll through and move just the good photos to a stated folder) that I find it hard to believe I can't (yet) find a graphics display program capable of scrolling and moving photos.

    How do YOU scroll through hundreds of photos to move the good ones to a separate folder?

    Attached Images Attached Images

  2. #2
    Join Date
    Jun 2010
    Location
    asoko
    Beans
    834
    Distro
    Ubuntu

    Re: How do YOU scroll through hundreds of photos & move good ones to a separate folde

    there are several image viewers that support extensible (custom) commands. Geequie and mirage are a couple of these.

    you can set up a custom command/Action like this:
    cp %f /data/archive/goodpics
    or whatever else you might want. then when you come to a good pic, just execute teh command (in mirage they are called "Custom Actions" ; Edit -> Custom Actions ) to move or copy the file.
    Last edited by endotherm; November 20th, 2010 at 04:32 AM. Reason: clarity. I was in a hurry...

  3. #3
    Join Date
    Oct 2010
    Beans
    72

    Re: How do YOU scroll through hundreds of photos & move good ones to a separate folde

    Quote Originally Posted by endotherm View Post
    there are several image viewers that support extensible (custom) commands. Geeqie and mirage are a couple of these.

    then set up a custom command with somthing like:
    cp %f /data/archive/gioodpics
    or whatever else you might want. then when you come to a good pic, just execute teh command (in mirage they are called "Custom Actions" ; Edit -> Custom Actions ) to move or copy the file.
    I like that solution. I've been wondering about this one myself.

  4. #4
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,638
    Distro
    Ubuntu

    Re: How do YOU scroll through hundreds of photos & move good ones to a separate folde

    You need feh

    Code:
    sudo apt-get install feh
    Then
    Code:
    feh -rF -D 3 ~/Photos
    That command initiates a slideshow of your photos. You will have to change ~/Photos to the directory your photos reside in.

    I`ll break the command down for you.

    -r means recursive in that you only have to specify the parent directory, it will go through all the sub directories aswell

    -F means fullscreen

    -D 3 means show each photo for 3 seconds before moving to the next one, change the 3 for whatever you like.

    Now.......

    right arrow (->) will go to the next image
    left arrow (<-) will go back
    H will pause (if you need a beer)

    And this is the important bit........

    F will save the photo you are veiwing to the directory you started feh in

    So........

    I`m going to assume your photos are at ~/Photos .........

    Make a folder for the good ones

    Code:
    mkdir ~/good_pics
    Go there

    Code:
    cd ~/good_pics
    Start the slideshow
    Code:
    feh -rF -D 3 ~/Photos
    If you don`t like one, press -> to go to the next one

    If you like one, press F

    If you miss saving one, go back with <-

    After you`re done, all your good ones will be in ~/good_pics

  5. #5
    Join Date
    Aug 2010
    Beans
    407
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How do YOU scroll through hundreds of photos & move good ones to a separate folde

    Quote Originally Posted by nothingspecial View Post
    ... press -> to go to the next one
    ... If you like one, press F ... go back with <- ...all your good ones will be in ~/good_pics
    That's EXACTLY the operation I want!
    - I want to scroll forward (or backward) at my own speed (> or <)
    - For any picture I like, Ill press "F"
    - In the end, all the good ones are in ~/path/good_pic

    Perfect use model.

    I'll install and check it out and report back how it goes!

    Thanks (I can see I wasn't the first to ask this question!)

  6. #6
    Join Date
    Aug 2010
    Beans
    407
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How do YOU scroll through hundreds of photos & move good ones to a separate folde

    Here's what I did, assuming photos in /path/photos:
    Code:
    mkdir /path/photos/best
    cd !$
    feh -F  ..
    This quickly (muuuuch quicker than Gimp, for example) brought up the first picture in fullscreen mode (-F) and only scrolled forward when I pressed a key ("spacebar") or scrolled backward when I pressed a key ("backspace") just like Irfanview does on Windows.

    Just like Irfanview, hitting escape ("Esc") gracefully exited out of the program.

    The only problem was "F" saved a text file which looked like a directory listing, of the name "feh_021461_000001_filelist", so it must be some other key that moves a file. I hit every key ("m", for example, brings up a menu); but I haven't hit upon which key does the move into the current directory.

    Am I doing something wrong?
    Last edited by rocksockdoc; November 20th, 2010 at 02:34 AM.

  7. #7
    Join Date
    Aug 2010
    Beans
    407
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How do YOU scroll through hundreds of photos & move good ones to a separate folde

    While the "feh" slideshow keys "spacebar" & "backspace" scroll through the photos in the folder, and "esc" will exit the program, the only thing left is the "move" or "copy" slideshow command.

    I see from the "feh" manpages that the "f" or "F" slideshow key is not what we need:
    Code:
    f, F Save the current filelist to a unique filename.
    But, the "save" slideshow key seems to (silently) do the trick:
    Code:
    s, S Save the current image to a unique filename.
    So, here's the use model:
    Code:
    a) Given a directory of photos, e.g., /media/Flash Drive/pictures
    b) Create a sub directory to hold files, e.g., mkdir "/media/Flash Drive/pictures/save"
    c) Go to that sub directory, e.g., cd !$
    d) Run "feh" in any desired mode, e.g., "feh .." or "feh -F .."
    e) Use the "spacebar" to step forward through the picture set
    f) Use the "backspace" key to step backward through the picture set
    g) Use the "S" (or "s") key to silently copy the file to the current directory
    h) Use the "Esc" key to escape out of the program
    This is fast (much faster than any other editing program on Ubuntu to date), intuitive (works almost the same as Irfanview, the admitted leader in simple photo manipulation), and easy.

    Thanks for the help! I hope others benefit if they find this in their google searches.
    Last edited by rocksockdoc; November 20th, 2010 at 02:35 AM.

  8. #8
    Join Date
    Aug 2010
    Beans
    407
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How do YOU scroll through hundreds of photos & move good ones to a separate folde

    So, here's my use model (please improve if you have better ideas) to email out a bunch of pictures to family and friends.

    1. Snap a few hundred photos & copy to a hard disk (e.g., to /media/My Disk/pics)
    2. Batch rotate the photos according to EXIF orientation tags (e.g., exiftran -ai *.JPG)
    3. Create a directory for a shrunken mailable copy (e.g., mkdir /media/"My Disk"/pics/small)
    4. Copy the entire set of large photos to that new directory
    5. Batch shrink the photos to an emailable 640x480 pixels (e.g., find . -iname "*.jpg" -exec convert -resize 640x480 -quality 86 -strip {} or use Nautilus to right-click resize to 640x480 pixels.
    6. Create a directory to hold the best photos to be emailed (e.g., /media/"My Disk"/pics/best)
    7. Go to that (currently empty) best-photo directory (e.g., cd /media/"My Disk"/pics/best)
    8. View the desired pictures (e.g., feh -F ..)
    9. In feh slideshow mode, use "spacebar" and "backspace" to navigate forward and backward through the photo set
    10. In feh slideshow mode, use the "s" key to save a copy of the good pictures to the current directory
    11. Hit the "Escape" key to exit out of 'feh' slideshow mode
    12. Email just these, the best of the photographs in your set.

    If you have an improvement to this process, please suggest it so we all benefit.

  9. #9
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,638
    Distro
    Ubuntu

    Re: How do YOU scroll through hundreds of photos & move good ones to a separate folde

    Glad I could be of help.

    Your needs with feh, go beyond mine.

    I use it for 2 things. One as I've outlined. When we (me, wife and kids) come back from a holiday for example, we do what I said in my earlier post. We do the slide show, and if someone wants that picture, they shout and I hit F.

    After were done, I send them to the printing company.

    The other thing is to use it on a broken netbook I have as a digital photo frame, with the -z option for random.

    I often find that cli apps can be more intuitive and useful than their gui counterparts.

    feh also has one of the best written man pages I have seen.

  10. #10
    Join Date
    Aug 2010
    Beans
    407
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How do YOU scroll through hundreds of photos & move good ones to a separate folde

    Quote Originally Posted by nothingspecial View Post
    Glad I could be of help.
    Yup. The only problem with "feh" was that typing the path was onerous, especially with spaces being in my media disk drive auto-assigned names; but I think I'll install "nautilus-open-terminal" to solve that problem. Once installed, I'm told I can just right click to open a terminal window to run "feh" in the desired directory.

    What I'm looking up next is how to automatically rename the photo files based on the EXIF date they were taken.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •