imgv v0.2.1

Christopher Harrington ironiridis at
Sun May 30 21:18:48 EDT 2010

On Sun, May 30, 2010 at 16:13, Fernando <fcarello at> wrote:

> Todo list for imgv 0.3.0:
> - Add ability to browse all images in current dir ("imgv all")
The "Unix Way" of doing this would be to allow the shell to provide the
files to view. So, for instance, if you invoked imgv as

`imgv stockphotos/children/`

imgv should stat stockphotos/children and see that it's a directory, and
handle it accordingly (whether that's recursing into all child directories
or just doing the image files in that directory).

Otherwise, if one did

`find stockphotos -iname "*aqua*.jpg" -print0 | xargs -0 imgv`

imgv would receive a list (possibly a very long one) of filenames provided
by the find utility.

In the context of your example above (`imgv all`) I'd suggest instead `imgv
*` and allow the shell to expand the asterisk into all of the files in the
current directory.

For the sake of argument, it might be preferred to have a switch that
ignores files that can't be opened by imgv, like so:

`imgv --ignore-non-images *`

because the shell will espand the asterisk for all files in the current
directory, and you wouldn't want imgv to try to open and display "imgv.c"
for instance. :)

-Chris Harrington
Phone: 612.598.3650
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the discussion mailing list