Command line image viewing for bash script?
I like to take pictures and upload them to facebook. On a recent trip though, I took over 450 photos and would like to make a script that would make moving them to a temporary file easier. I know this will probably involve a loop that will show me all the pictures in a directory one-by-one, and I suppose it should allow some sort of input, such as pressing one key to make a link to that photo in a temporary folder for easy uploading, and another to skip to the next photo.
What should I use for the image viewing part? |
I'm no expert, but I often invoke eog from the command line. I'm running gnome as my window manager and eog stands for, "Eye of Gnome," a picture viewer. I'll cd into a directory with pictures and issue the command:
Code:
eog somepicture.jpg |
There are many good framebuffer image viewers if you want to do this from the console. fbi is a good choice, but there are others as well.
If you want to do it from X, then feh is one that I use for slide shows and such. There are many options, a simple web search should provide many choices. |
On many picture viewers, you can use the directory as an argument to display all of the files. Don't forget about google's picassa.
|
All times are GMT -5. The time now is 04:09 AM. |